Module: Layer::Operations::Destroy

Included in:
Conversation, Message
Defined in:
lib/layer/operations/destroy.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#destroyObject

Destroys the resource

Raises:



25
26
27
# File 'lib/layer/operations/destroy.rb', line 25

def destroy
  client.delete(url, {}, { params: { destroy: true } })
end