Class: KatelloApi::Resources::Environment
- Inherits:
-
Base
- Object
- Base
- KatelloApi::Resources::Environment
- Defined in:
- lib/katello_api/resources/environment.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) create(params = {}, headers = {})
First item: parsed data; second item: raw body.
-
- (Array) destroy(params = {}, headers = {})
First item: parsed data; second item: raw body.
-
- (Array) import_puppetclasses(params = {}, headers = {})
First item: parsed data; second item: raw body.
-
- (Array) index(params = {}, headers = {})
First item: parsed data; second item: raw body.
-
- (Array) show(params = {}, headers = {})
First item: parsed data; second item: raw body.
-
- (Array) update(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/environment.rb', line 4 def self.doc @doc ||= KatelloApi.doc['resources']["environments"] end |
Instance Method Details
- (Array) create(params = {}, headers = {})
Returns First item: parsed data; second item: raw body
49 50 51 |
# File 'lib/katello_api/resources/environment.rb', line 49 def create(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) destroy(params = {}, headers = {})
Returns First item: parsed data; second item: raw body
70 71 72 |
# File 'lib/katello_api/resources/environment.rb', line 70 def destroy(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) import_puppetclasses(params = {}, headers = {})
Returns First item: parsed data; second item: raw body
17 18 19 |
# File 'lib/katello_api/resources/environment.rb', line 17 def import_puppetclasses(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) index(params = {}, headers = {})
Returns First item: parsed data; second item: raw body
29 30 31 |
# File 'lib/katello_api/resources/environment.rb', line 29 def index(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) show(params = {}, headers = {})
Returns First item: parsed data; second item: raw body
38 39 40 |
# File 'lib/katello_api/resources/environment.rb', line 38 def show(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) update(params = {}, headers = {})
Returns First item: parsed data; second item: raw body
61 62 63 |
# File 'lib/katello_api/resources/environment.rb', line 61 def update(params = {}, headers = {}) perform_call(__method__, params, headers) end |