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.
43 44 45 |
# File 'lib/katello_api/resources/provider.rb', line 43 def create(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#delete_manifest(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
103 104 105 |
# File 'lib/katello_api/resources/provider.rb', line 103 def delete_manifest(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#destroy(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
64 65 66 |
# File 'lib/katello_api/resources/provider.rb', line 64 def destroy(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#import_manifest(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
85 86 87 |
# File 'lib/katello_api/resources/provider.rb', line 85 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.
122 123 124 |
# File 'lib/katello_api/resources/provider.rb', line 122 def import_products(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#index(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
22 23 24 |
# File 'lib/katello_api/resources/provider.rb', line 22 def index(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#product_create(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
137 138 139 |
# File 'lib/katello_api/resources/provider.rb', line 137 def product_create(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#products(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
74 75 76 |
# File 'lib/katello_api/resources/provider.rb', line 74 def products(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#refresh_manifest(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
94 95 96 |
# File 'lib/katello_api/resources/provider.rb', line 94 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.
112 113 114 |
# File 'lib/katello_api/resources/provider.rb', line 112 def refresh_products(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#show(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
31 32 33 |
# File 'lib/katello_api/resources/provider.rb', line 31 def show(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#update(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
55 56 57 |
# File 'lib/katello_api/resources/provider.rb', line 55 def update(params = {}, headers = {}) perform_call(__method__, params, headers) end |