Class: Pulp::Filter

Inherits:
Connection::Base show all
Defined in:
lib/pulp/filter.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Connection::Base

base, base_delete, base_get, base_post, base_put, base_unparsed_delete, base_unparsed_get, base_unparsed_post, base_unparsed_put, identifier, #initialize, merge_params, parse_item_cmd, plain_base, plain_get, plain_unparsed_get, reset, s, #set_fields

Methods included from Common::Lifecycle

#fields, included, #locked_fields, #record_fields, #special_fields, #user_fields

Constructor Details

This class inherits a constructor from Pulp::Connection::Base

Class Method Details

.delete(item_id, force = false) ⇒ Object



14
15
16
# File 'lib/pulp/filter.rb', line 14

def self.delete(item_id,force=false)
  base_delete("",item_id, :force => force)
end

Instance Method Details

#delete(force = false) ⇒ Object



10
11
12
# File 'lib/pulp/filter.rb', line 10

def delete(force=false)
  self.class.delete(id,force)
end