Method: Fog::DNS::Rage4::Real#list_records

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

#list_records(id) ⇒ Object

Get the list of records for the specific domain.

Parameters

  • id<~Integer>

Returns

  • response<~Excon::Response>:

    • records<Array~>

      • name<~String>

      • ttl<~Integer>

      • updated_at<~String>

      • domain_id<~Integer>

      • id<~Integer>

      • content<~String>

      • record_type<~String>

      • priority<~Integer>



20
21
22
23
24
# File 'lib/fog/rage4/requests/dns/list_records.rb', line 20

def list_records(id)
  request( :expects  => 200,
           :method   => "GET",
           :path     => "/rapi/getrecords/#{id}" )
end