module HttpCrawler::Proxy

Public Class Methods

for(web_name, *arg) click to toggle source

接收格式 web_name = “test_proxy_api” 返回 HttpCrawler::Proxy::TestProxyApi::Client 实例

# File lib/http_crawler/proxy.rb, line 9
def for(web_name, *arg)
  "HttpCrawler::Proxy::#{web_name.camelize}::Client".constantize.new(*arg)
end