Sha256: 43800419b992f983ff233815a61bbe82223a0a326f473779f8316c10f84d914f

Contents?: true

Size: 826 Bytes

Versions: 67

Compression:

Stored size: 826 Bytes

Contents

module Fog
  module DNS
    class DNSimple
      class Real

        # Get the list of records for the specific domain.
        #
        # ==== Parameters
        # * domain<~String>
        # ==== Returns
        # * response<~Excon::Response>:
        #   * records<Array~>
        #     * name<~String>
        #     * ttl<~Integer>
        #     * created_at<~String>
        #     * special_type<~String>
        #     * updated_at<~String>
        #     * domain_id<~Integer>
        #     * id<~Integer>
        #     * content<~String>
        #     * record_type<~String>
        #     * prio<~Integer>
        def list_records(domain)
          request( :expects  => 200,
                   :method   => "GET",
                   :path     => "/domains/#{domain}/records" )
        end

      end
    end
  end
end

Version data entries

67 entries across 67 versions & 19 rubygems

Version Path
gapinc-fog-1.12.1.2.1 lib/fog/dnsimple/requests/dns/list_records.rb
fog-1.14.0 lib/fog/dnsimple/requests/dns/list_records.rb
fog-1.13.0 lib/fog/dnsimple/requests/dns/list_records.rb
gapinc-fog-1.12.1.2 lib/fog/dnsimple/requests/dns/list_records.rb
gapinc-fog-1.12.1.1 lib/fog/dnsimple/requests/dns/list_records.rb
gapinc-fog-1.12.1a lib/fog/dnsimple/requests/dns/list_records.rb
gapinc-fog-1.12.1 lib/fog/dnsimple/requests/dns/list_records.rb
fog-1.12.1 lib/fog/dnsimple/requests/dns/list_records.rb
fog-1.12.0 lib/fog/dnsimple/requests/dns/list_records.rb
hpfog-0.0.20 lib/fog/dnsimple/requests/dns/list_records.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/lib/fog/dnsimple/requests/dns/list_records.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/lib/fog/dnsimple/requests/dns/list_records.rb
fog-nirvanix-1.8.2 lib/fog/dnsimple/requests/dns/list_records.rb
fog-1.11.1 lib/fog/dnsimple/requests/dns/list_records.rb
fog-1.11.0 lib/fog/dnsimple/requests/dns/list_records.rb
fog-nirvanix-1.8.1 lib/fog/dnsimple/requests/dns/list_records.rb
fog-1.10.1 lib/fog/dnsimple/requests/dns/list_records.rb
fog-parser-fix-1.6.1 lib/fog/dnsimple/requests/dns/list_records.rb
fog-test-again-1.6.0 lib/fog/dnsimple/requests/dns/list_records.rb
fog-test-me-1.10.0 lib/fog/dnsimple/requests/dns/list_records.rb