Class: KatelloApi::Resources::Repository
- Defined in:
- lib/katello_api/resources/repository.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
-
#create(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#destroy(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#enable(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#gpg_key_content(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#list_content_view_definition_repositories(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#package_group_categories(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#package_groups(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#show(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#sync_complete(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#update(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#update_content_view_definition_repositories(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
Methods inherited from Base
#http_call, #initialize, method_doc, #perform_call, #validate_params!, validation_hash
Constructor Details
This class inherits a constructor from KatelloApi::Base
Class Method Details
.doc ⇒ Object
4 5 6 |
# File 'lib/katello_api/resources/repository.rb', line 4 def self.doc @doc ||= KatelloApi.doc['resources']["repositories"] end |
Instance Method Details
#create(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
17 18 19 |
# File 'lib/katello_api/resources/repository.rb', line 17 def create(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#destroy(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
47 48 49 |
# File 'lib/katello_api/resources/repository.rb', line 47 def destroy(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#enable(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
57 58 59 |
# File 'lib/katello_api/resources/repository.rb', line 57 def enable(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#gpg_key_content(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
93 94 95 |
# File 'lib/katello_api/resources/repository.rb', line 93 def gpg_key_content(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#list_content_view_definition_repositories(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
101 102 103 |
# File 'lib/katello_api/resources/repository.rb', line 101 def list_content_view_definition_repositories(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#package_group_categories(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
84 85 86 |
# File 'lib/katello_api/resources/repository.rb', line 84 def package_group_categories(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#package_groups(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
75 76 77 |
# File 'lib/katello_api/resources/repository.rb', line 75 def package_groups(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#show(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
26 27 28 |
# File 'lib/katello_api/resources/repository.rb', line 26 def show(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#sync_complete(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
66 67 68 |
# File 'lib/katello_api/resources/repository.rb', line 66 def sync_complete(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#update(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
38 39 40 |
# File 'lib/katello_api/resources/repository.rb', line 38 def update(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#update_content_view_definition_repositories(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
111 112 113 |
# File 'lib/katello_api/resources/repository.rb', line 111 def update_content_view_definition_repositories(params = {}, headers = {}) perform_call(__method__, params, headers) end |