module NSOne::API::Networks
Public Instance Methods
networks()
click to toggle source
Returns a lists of all networks for which you may create zones and records.
By default network '0' is always returned as it the NS1 main network. Customers with dedicated/private DNS service can have more.
@example Response
[ { "network_id"=>0, "name"=>"NS1 Managed DNS Network", "label"=>"NSONE" } ]
@return [NSOne::Response]
# File lib/nsone/api/networks.rb, line 23 def networks() perform_request(HTTP_GET, "/networks") end