Class: Pulp::Package

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

Class 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

.by_nvrea(name, version, release, epoch, arch) ⇒ Object



16
17
18
# File 'lib/pulp/package.rb', line 16

def self.by_nvrea(name,version,release,epoch,arch)
  self.new(base_get("#{name}/#{version}/#{release}/#{epoch}/#{arch}"))
end