Method: Fog::DNS::Rage4::Real#list_record_types

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

#list_record_typesObject

List all the record types available

Parameters

Returns

  • response<~Excon::Response>:

    • body<~Array>:

      • ‘record types’<~Hash> *‘name’ <~String> record type name *‘value’ <~Integer> Integer value of the type



14
15
16
17
18
19
20
# File 'lib/fog/rage4/requests/dns/list_record_types.rb', line 14

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