Class: Runcible::Extensions::Rpm

Inherits:
Unit show all
Defined in:
lib/runcible/extensions/rpm.rb

Class Method Summary collapse

Methods inherited from Unit

all, copy, find_all_by_unit_ids, find_by_unit_id, unassociate_from_repo, unassociate_unit_ids_from_repo

Methods inherited from Resources::Unit

path, search

Methods inherited from Base

add_http_auth_header, add_oauth_header, call, combine_get_params, config, config=, generate_log_message, generate_payload, get_response, log_debug, log_exception, process_response, required_params

Class Method Details

.content_typeObject



29
30
31
# File 'lib/runcible/extensions/rpm.rb', line 29

def self.content_type
  'rpm'
end

.findObject

This function is not implemented for RPMs since they do not have content IDs

Raises:

  • (NotImplementedError)


34
35
36
# File 'lib/runcible/extensions/rpm.rb', line 34

def self.find
  raise NotImplementedError
end

.find_allObject

This function is not implemented for RPMs since they do not have content IDs

Raises:

  • (NotImplementedError)


39
40
41
# File 'lib/runcible/extensions/rpm.rb', line 39

def self.find_all
  raise NotImplementedError
end

.unassociate_ids_from_repo(repo_id, ids) ⇒ Object

This function is not implemented for RPMs since they do not have content IDs

Raises:

  • (NotImplementedError)


44
45
46
# File 'lib/runcible/extensions/rpm.rb', line 44

def self.unassociate_ids_from_repo(repo_id, ids)
  raise NotImplementedError
end