lib/luminati/client/zone/ips.rb
# Returns datacenter IPs for a given zone.
# @see https://luminati.io/doc/api#account_api_zone_datacenter_ips
# @param zone_name [String]
# @param ip_per_country [Boolean] `true` when you want to get a total amount of IPs per country
# @return [Hash]
Returns datacenter IPs for a given zone.
Returns datacenter IPs for a given zone .
def zone_ips(zone_name, ip_per_country = false)
          parameters = "zone=#{zone_name}"
          parameters << "&ip_per_country" if ip_per_country
          request(:get, "/api/zone/ips?#{parameters}")
        end
def zone_ips ( zone_name , ip_per_country = false ) parameters = "zone=#{zone_name}" parameters << "&ip_per_country" if ip_per_country request ( :get , "/api/zone/ips?#{parameters}" ) end
Returns datacenter IPs for a given zone.
Returns datacenter IPs for a given zone .
None
Hash
zone_name
<not_specific>
ip_per_country
`true` when you want to get a total amount of IPs per country
` true ` when you want to get a total amount of IPs per country
<not_specific>
None
see
None