Module: Oshpark::RemoteModel
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 |
# File 'lib/oshpark/remote_model.rb', line 6 def self.included base base.extend ClassMethods end |
Instance Method Details
#destroy! ⇒ Object
24 25 26 27 |
# File 'lib/oshpark/remote_model.rb', line 24 def destroy! Oshpark::client.public_send("destroy_#{object_name}", id) nil end |