Class: KatelloApi::Resources::Product
- Defined in:
- lib/katello_api/resources/product.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
-
#destroy(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#index(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#list_content_view_definition_products(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#remove_sync_plan(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#repositories(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#set_sync_plan(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#show(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_products(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/product.rb', line 4 def self.doc @doc ||= KatelloApi.doc['resources']["products"] end |
Instance Method Details
#destroy(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
50 51 52 |
# File 'lib/katello_api/resources/product.rb', line 50 def destroy(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#index(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
40 41 42 |
# File 'lib/katello_api/resources/product.rb', line 40 def index(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#list_content_view_definition_products(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
94 95 96 |
# File 'lib/katello_api/resources/product.rb', line 94 def list_content_view_definition_products(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#remove_sync_plan(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
85 86 87 |
# File 'lib/katello_api/resources/product.rb', line 85 def remove_sync_plan(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#repositories(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
63 64 65 |
# File 'lib/katello_api/resources/product.rb', line 63 def repositories(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#set_sync_plan(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
74 75 76 |
# File 'lib/katello_api/resources/product.rb', line 74 def set_sync_plan(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#show(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
14 15 16 |
# File 'lib/katello_api/resources/product.rb', line 14 def show(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#update(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
29 30 31 |
# File 'lib/katello_api/resources/product.rb', line 29 def update(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#update_content_view_definition_products(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
104 105 106 |
# File 'lib/katello_api/resources/product.rb', line 104 def update_content_view_definition_products(params = {}, headers = {}) perform_call(__method__, params, headers) end |