Module: Persistence::Destroy

Included in:
Persistence
Defined in:
lib/persistence/destroy.rb

Instance Method Summary collapse

Instance Method Details

#destroy(id) ⇒ Object

Destroys resource with given ID.



10
11
12
# File 'lib/persistence/destroy.rb', line 10

def destroy(id)
  self.adapter.destroy_resource(id)
end