Class: WebbyNode::DNS::ZoneList
- Defined in:
- lib/webbynode-api/dns.rb
Overview
Represents an Array of all DNS zones present on the API account
Instance Attribute Summary
Attributes inherited from APIObject
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ZoneList
constructor
Fetches an Array of all zones into @data.
Methods inherited from APIObject
#auth_get, #auth_post, auth_post, #method_missing
Constructor Details
#initialize(options = {}) ⇒ ZoneList
Fetches an Array of all zones into @data.
127 128 129 130 |
# File 'lib/webbynode-api/dns.rb', line 127 def initialize( = {}) super() @data = auth_get("/api/xml/dns")["hash"]["zones"] end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class WebbyNode::APIObject