Class: Proxies
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Base
Instance Method Details
#get_id(proxy_name) ⇒ Object
4 5 6 7 8 |
# File 'lib/zapix/proxies/proxies.rb', line 4 def get_id(proxy_name) result = client.proxy_get('filter' => { 'host' => proxy_name }) result.first['proxyid'] end |