Sha256: 9e998c287a5fd425634ede13ba3c722d5219d667ccde2b212c9a7a4957f8ace5

Contents?: true

Size: 466 Bytes

Versions: 7

Compression:

Stored size: 466 Bytes

Contents

module Fog
  module DNSimple
    class DNS
      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

7 entries across 7 versions & 1 rubygems

Version Path
fog-0.8.2 lib/fog/dns/requests/dnsimple/delete_record.rb
fog-0.8.1 lib/fog/dns/requests/dnsimple/delete_record.rb
fog-0.8.0 lib/fog/dns/requests/dnsimple/delete_record.rb
fog-0.7.2 lib/fog/dns/requests/dnsimple/delete_record.rb
fog-0.7.1 lib/fog/dns/requests/dnsimple/delete_record.rb
fog-0.7.0 lib/fog/dns/requests/dnsimple/delete_record.rb
fog-0.6.0 lib/fog/dns/requests/dnsimple/delete_record.rb