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
fog-parser-fix-1.6.0 lib/fog/dnsimple/requests/dns/list_records.rb
fog-1.10.0 lib/fog/dnsimple/requests/dns/list_records.rb
fog-1.9.0 lib/fog/dnsimple/requests/dns/list_records.rb
fog-maestrodev-1.8.0.20130114204828 lib/fog/dnsimple/requests/dns/list_records.rb
fog-maestrodev-1.8.0.20130111070250 lib/fog/dnsimple/requests/dns/list_records.rb
fog-maestrodev-1.8.0.20130109172219 lib/fog/dnsimple/requests/dns/list_records.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/dnsimple/requests/dns/list_records.rb
fog-sgonyea-1.8.1 lib/fog/dnsimple/requests/dns/list_records.rb
fog-1.8.0 lib/fog/dnsimple/requests/dns/list_records.rb
fog-maestrodev-1.7.0.20121114190951 lib/fog/dnsimple/requests/dns/list_records.rb
fog-1.7.0 lib/fog/dnsimple/requests/dns/list_records.rb
fog-1.6.0 lib/fog/dnsimple/requests/dns/list_records.rb
fog-1.5.0 lib/fog/dnsimple/requests/dns/list_records.rb
rackspace-fog-1.4.2 lib/rackspace-fog/dnsimple/requests/dns/list_records.rb
fog-1.4.0 lib/fog/dnsimple/requests/dns/list_records.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/dnsimple/requests/dns/list_records.rb
michiels-fog-1.3.1 lib/fog/dnsimple/requests/dns/list_records.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/dnsimple/requests/dns/list_records.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/dnsimple/requests/dns/list_records.rb
fog-1.3.1 lib/fog/dnsimple/requests/dns/list_records.rb