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