Sha256: 0680c03601bd4a58041e39a346cfd53e28c3465b162129c3b9a4b9290ded03aa

Contents?: true

Size: 1.01 KB

Versions: 67

Compression:

Stored size: 1.01 KB

Contents

module Fog
  module DNS
    class DNSimple
      class Real

        # Get the details for a specific domain in your account. You
        # may pass either the domain numeric ID or the domain name
        # itself.
        #
        # ==== Parameters
        # * id<~String> - domain name or numeric ID
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'domain'<~Hash>
        #       * 'name'<~String>
        #       * 'expires_at'<~String>
        #       * 'created_at'<~String>
        #       * 'registration_status'<~String>
        #       * 'updated_at'<~String>
        #       * 'registrant_id'<~Integer>
        #       * 'id'<~Integer>
        #       * 'user_id'<~Integer>
        #       * 'name_server_status'<~String>
        def get_domain(id)
          request(
                  :expects  => 200,
                  :method   => "GET",
                  :path     => "/domains/#{id}"
                  )
        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/get_domain.rb
fog-1.10.0 lib/fog/dnsimple/requests/dns/get_domain.rb
fog-1.9.0 lib/fog/dnsimple/requests/dns/get_domain.rb
fog-maestrodev-1.8.0.20130114204828 lib/fog/dnsimple/requests/dns/get_domain.rb
fog-maestrodev-1.8.0.20130111070250 lib/fog/dnsimple/requests/dns/get_domain.rb
fog-maestrodev-1.8.0.20130109172219 lib/fog/dnsimple/requests/dns/get_domain.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/dnsimple/requests/dns/get_domain.rb
fog-sgonyea-1.8.1 lib/fog/dnsimple/requests/dns/get_domain.rb
fog-1.8.0 lib/fog/dnsimple/requests/dns/get_domain.rb
fog-maestrodev-1.7.0.20121114190951 lib/fog/dnsimple/requests/dns/get_domain.rb
fog-1.7.0 lib/fog/dnsimple/requests/dns/get_domain.rb
fog-1.6.0 lib/fog/dnsimple/requests/dns/get_domain.rb
fog-1.5.0 lib/fog/dnsimple/requests/dns/get_domain.rb
rackspace-fog-1.4.2 lib/rackspace-fog/dnsimple/requests/dns/get_domain.rb
fog-1.4.0 lib/fog/dnsimple/requests/dns/get_domain.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/dnsimple/requests/dns/get_domain.rb
michiels-fog-1.3.1 lib/fog/dnsimple/requests/dns/get_domain.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/dnsimple/requests/dns/get_domain.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/dnsimple/requests/dns/get_domain.rb
fog-1.3.1 lib/fog/dnsimple/requests/dns/get_domain.rb