Sha256: 5cb55841c05bc8a8fb9da0936498747d5a895e9399a93982b0e09d738c0e900b

Contents?: true

Size: 466 Bytes

Versions: 67

Compression:

Stored size: 466 Bytes

Contents

module Fog
  module DNS
    class DNSimple
      class Real

        # Delete the record with the given ID for the given domain.
        #
        # ==== Parameters
        # * domain<~String>
        # * record_id<~String>
        def delete_record(domain, record_id)

          request( :expects  => 200,
                   :method   => "DELETE",
                   :path     => "/domains/#{domain}/records/#{record_id}" )
        end

      end
    end
  end
end

Version data entries

67 entries across 67 versions & 19 rubygems

Version Path
fog-1.3.0 lib/fog/dnsimple/requests/dns/delete_record.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/dnsimple/requests/dns/delete_record.rb
fog-1.2.0 lib/fog/dnsimple/requests/dns/delete_record.rb
ktheory-fog-1.1.2 lib/fog/dnsimple/requests/dns/delete_record.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/lib/fog/dnsimple/requests/dns/delete_record.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/lib/fog/dnsimple/requests/dns/delete_record.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/lib/fog/dnsimple/requests/dns/delete_record.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/dnsimple/requests/dns/delete_record.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/dnsimple/requests/dns/delete_record.rb
fog-1.1.2 lib/fog/dnsimple/requests/dns/delete_record.rb
fog_tractical-1.1.4 lib/fog/dnsimple/requests/dns/delete_record.rb
fog_tractical-1.1.3 lib/fog/dnsimple/requests/dns/delete_record.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/dnsimple/requests/dns/delete_record.rb
fog-1.1.1 lib/fog/dnsimple/requests/dns/delete_record.rb
fog-1.1.0 lib/fog/dnsimple/requests/dns/delete_record.rb
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/fog/lib/fog/dnsimple/requests/dns/delete_record.rb
tag-fog-1.0.1 lib/fog/dnsimple/requests/dns/delete_record.rb
brightbox-cli-0.14.1 lib/brightbox-cli/vendor/fog/lib/fog/dnsimple/requests/dns/delete_record.rb
brightbox-cli-0.14.0 lib/brightbox-cli/vendor/fog/lib/fog/dnsimple/requests/dns/delete_record.rb
fog-1.0.0 lib/fog/dnsimple/requests/dns/delete_record.rb