Module: Layer::Operations::Delete::ClassMethods
Instance Method Summary collapse
-
#delete(id, client = self.client) ⇒ Object
Deletes the resource with the given id.
Instance Method Details
#delete(id, client = self.client) ⇒ Object
Deletes the resource with the given id
11 12 13 14 |
# File 'lib/layer/operations/delete.rb', line 11 def delete(id, client = self.client) id = Layer::Client.normalize_id(id) client.delete("#{url}/#{id}") end |