Class: Runcible::Extensions::Rpm

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

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Unit

#all, #content_type, #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, #format_payload_json, #generate_log_message, #generate_payload, #get_response, #initialize, #lazy_config=, #log_debug, #log_exception, #logger, #path, #process_response, #required_params

Constructor Details

This class inherits a constructor from Runcible::Base

Class Method Details

.content_typeObject



27
28
29
# File 'lib/runcible/extensions/rpm.rb', line 27

def self.content_type
  'rpm'
end

Instance Method Details

#findObject

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



32
33
34
# File 'lib/runcible/extensions/rpm.rb', line 32

def find
  fail NotImplementedError
end

#find_allObject

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



37
38
39
# File 'lib/runcible/extensions/rpm.rb', line 37

def find_all
  fail NotImplementedError
end

#unassociate_ids_from_repo(repo_id, ids) ⇒ Object

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



42
43
44
# File 'lib/runcible/extensions/rpm.rb', line 42

def unassociate_ids_from_repo(repo_id, ids)
  fail NotImplementedError
end