Class: KatelloApi::Resources::ContentView
- Defined in:
- lib/katello_api/resources/content_view.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.
-
#promote(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#refresh(params = {}, headers = {}) ⇒ Array
First item: parsed data; second item: raw body.
-
#show(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/content_view.rb', line 4 def self.doc @doc ||= KatelloApi.doc['resources']["content_views"] end |
Instance Method Details
#destroy(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
55 56 57 |
# File 'lib/katello_api/resources/content_view.rb', line 55 def destroy(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#index(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
17 18 19 |
# File 'lib/katello_api/resources/content_view.rb', line 17 def index(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#promote(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
37 38 39 |
# File 'lib/katello_api/resources/content_view.rb', line 37 def promote(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#refresh(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
46 47 48 |
# File 'lib/katello_api/resources/content_view.rb', line 46 def refresh(params = {}, headers = {}) perform_call(__method__, params, headers) end |
#show(params = {}, headers = {}) ⇒ Array
Returns First item: parsed data; second item: raw body.
27 28 29 |
# File 'lib/katello_api/resources/content_view.rb', line 27 def show(params = {}, headers = {}) perform_call(__method__, params, headers) end |