Class: Layer::Resources::Message

Inherits:
Layer::Resource show all
Defined in:
lib/layer/resources/message.rb

Instance Attribute Summary

Attributes inherited from Layer::Resource

#attributes, #client

Instance Method Summary collapse

Methods inherited from Layer::Resource

class_name, create, find, #initialize, #inspect, list, #method_missing, pluralized_name, #respond_to_missing?, #update, url, #uuid

Constructor Details

This class inherits a constructor from Layer::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Layer::Resource

Instance Method Details

#destroyObject



4
5
6
# File 'lib/layer/resources/message.rb', line 4

def destroy
  client.delete(delete_url)
end