Module: Hawkei::APIOperation::Delete::ClassMethods
- Defined in:
- lib/hawkei/api_operation/delete.rb
Instance Method Summary collapse
-
#delete(id, options = {}) ⇒ Hawkei::Object
Delete an API Resource.
Instance Method Details
#delete(id, options = {}) ⇒ Hawkei::Object
Delete an API Resource
15 16 17 18 |
# File 'lib/hawkei/api_operation/delete.rb', line 15 def delete(id, = {}) response = request(:delete, "#{resource_path}/#{id}", ) initialize_from(response) end |