Class: KatelloApi::Resources::Provider
- Defined in:
- lib/katello_api/resources/provider.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.
-
#delete_manifest(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#destroy(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#import_manifest(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#import_products(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#index(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#product_create(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#products(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#refresh_manifest(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#refresh_products(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.
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/provider.rb', line 4 def self.doc @doc ||= KatelloApi.doc['resources']["providers"] end |
Instance Method Details
#create(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
44 45 46 |
# File 'lib/katello_api/resources/provider.rb', line 44 def create(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#delete_manifest(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
104 105 106 |
# File 'lib/katello_api/resources/provider.rb', line 104 def delete_manifest(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#destroy(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
65 66 67 |
# File 'lib/katello_api/resources/provider.rb', line 65 def destroy(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#import_manifest(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
86 87 88 |
# File 'lib/katello_api/resources/provider.rb', line 86 def import_manifest(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#import_products(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
123 124 125 |
# File 'lib/katello_api/resources/provider.rb', line 123 def import_products(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#index(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
23 24 25 |
# File 'lib/katello_api/resources/provider.rb', line 23 def index(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#product_create(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
138 139 140 |
# File 'lib/katello_api/resources/provider.rb', line 138 def product_create(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#products(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
75 76 77 |
# File 'lib/katello_api/resources/provider.rb', line 75 def products(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#refresh_manifest(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
95 96 97 |
# File 'lib/katello_api/resources/provider.rb', line 95 def refresh_manifest(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#refresh_products(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
113 114 115 |
# File 'lib/katello_api/resources/provider.rb', line 113 def refresh_products(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#show(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
32 33 34 |
# File 'lib/katello_api/resources/provider.rb', line 32 def show(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#update(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
56 57 58 |
# File 'lib/katello_api/resources/provider.rb', line 56 def update(params = {}, headers = {}) perform_call(__method__, params, headers) end |