Class: KatelloApi::Resources::ContentView
- Inherits:
-
Base
- Object
- Base
- KatelloApi::Resources::ContentView
- Defined in:
- lib/katello_api/resources/content_view.rb
Constant Summary
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary (collapse)
Instance Method Summary (collapse)
-
- (Array) destroy(params = {}, headers = {})
First item: parsed data; second item: raw body.
-
- (Array) index(params = {}, headers = {})
First item: parsed data; second item: raw body.
-
- (Array) promote(params = {}, headers = {})
First item: parsed data; second item: raw body.
-
- (Array) refresh(params = {}, headers = {})
First item: parsed data; second item: raw body.
-
- (Array) show(params = {}, headers = {})
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
+ (Object) doc
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
- (Array) destroy(params = {}, headers = {})
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 |
- (Array) index(params = {}, headers = {})
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 |
- (Array) promote(params = {}, headers = {})
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 |
- (Array) refresh(params = {}, headers = {})
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 |
- (Array) show(params = {}, headers = {})
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 |