Sha256: c5797efbbea9226a3a6e40b020fe434d7478ff61f7bff43245caedb00567c3b6
Contents?: true
Size: 651 Bytes
Versions: 11
Compression:
Stored size: 651 Bytes
Contents
module Fog module Slicehost class DNS class Real # Delete a record from the specified DNS zone # ==== Parameters # * record_id<~Integer> - Id of DNS record to delete # # ==== Returns # * response<~Excon::Response>: - HTTP status code will be result def delete_record(record_id) request( :expects => 200, :method => 'DELETE', :path => "records/#{record_id}.xml" ) end end class Mock def delete_record(record_id) Fog::Mock.not_implemented end end end end end
Version data entries
11 entries across 11 versions & 2 rubygems