Class: Runcible::Extensions::DebRelease

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

Instance Attribute Summary

Attributes inherited from Base

#logs

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

Constructor Details

This class inherits a constructor from Runcible::Base

Class Method Details

.content_typeObject



4
5
6
# File 'lib/runcible/extensions/deb_release.rb', line 4

def self.content_type
  'deb_release'
end

Instance Method Details

#findObject

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



9
10
11
# File 'lib/runcible/extensions/deb_release.rb', line 9

def find
  fail NotImplementedError
end

#find_allObject

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



14
15
16
# File 'lib/runcible/extensions/deb_release.rb', line 14

def find_all
  fail NotImplementedError
end

#unassociate_ids_from_repo(repo_id, ids) ⇒ Object

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



19
20
21
# File 'lib/runcible/extensions/deb_release.rb', line 19

def unassociate_ids_from_repo(repo_id, ids)
  fail NotImplementedError
end