Method: Fog::DNS::Rage4::Real#delete_record
- Defined in:
- lib/fog/rage4/requests/dns/delete_record.rb
#delete_record(id) ⇒ Object
Delete a specific record
Parameters
-
id<~Integer> - numeric record ID
Returns
-
response<~Excon::Response>:
-
body<~Hash>:
* 'status'<~Boolean> * 'id'<~Integer> * 'error'<~String>
-
15 16 17 18 19 20 |
# File 'lib/fog/rage4/requests/dns/delete_record.rb', line 15 def delete_record(id) request( :expects => 200, :method => 'GET', :path => "/rapi/deleterecord/#{id}" ) end |