Module: Pulp::Common::Lifecycle::Delete

Defined in:
lib/pulp/common/lifecycle/delete.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
# File 'lib/pulp/common/lifecycle/delete.rb', line 5

def self.included(base)
  base.extend ClassMethods 
end

Instance Method Details

#deleteObject



8
9
10
# File 'lib/pulp/common/lifecycle/delete.rb', line 8

def delete
  self.class.delete(id)
end