Method: Fog::DNS::Rage4::Real#list_domains

Defined in:
lib/fog/rage4/requests/dns/list_domains.rb

#list_domainsObject

Get the lsit of all domains for your account.

Parameters

Returns

  • response<~Excon::Response>:

    • body<~Array>:

      • ‘domains’<~Hash>

        • ‘id’<~Integer>

        • ‘name’<~String>

        • ‘owner_email’<~String>

        • ‘type’<~Integer>

        • ‘subnet_mask’<~Integer>



17
18
19
20
21
22
23
# File 'lib/fog/rage4/requests/dns/list_domains.rb', line 17

def list_domains
  request(
          :expects  => 200,
          :method   => 'GET',
          :path     => '/rapi/getdomains'
          )
end