module Proxtopus
Constants
- AGENT
Public Class Methods
client(resources_file)
click to toggle source
p = Proxtopus.new_client do api_url = 'http://letushide.com/fpapi', api_options = { :key => '60cae5a16971178be16daa02', :cs => ['US'], etc... } returns a Proxtopus::Client object
def new_client(&block)
Client.new(&block) if block_given?
end
# File lib/proxtopus.rb, line 33 def client(resources_file) resources = eval("[#{File.read(resources_file)}]".gsub!(/\r|\n|\s/,'')) Client.new(resources) end