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
5 6 7 8 9 10 11 |
# File 'lib/zapix/proxies/proxies.rb', line 5 def get_id(proxy_name) result = client.proxy_get({ 'filter' => {'host' => proxy_name} }) result.first['proxyid'] end |