Class: ForemanApi::Resources::TemplateCombination
- Inherits:
-
Base
- Object
- Base
- ForemanApi::Resources::TemplateCombination
- Defined in:
- lib/foreman_api/resources/template_combination.rb
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) index(params = {}, headers = {})
First item: parsed data; second item: raw body.
-
- (Array) show(params = {}, headers = {})
First item: parsed data; second item: raw body.
Class Method Details
+ (Object) doc
4 5 6 |
# File 'lib/foreman_api/resources/template_combination.rb', line 4 def self.doc @doc ||= ForemanApi.doc['resources']["template_combinations"] end |
Instance Method Details
- (Array) create(params = {}, headers = {})
First item: parsed data; second item: raw body
26 27 28 |
# File 'lib/foreman_api/resources/template_combination.rb', line 26 def create(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) destroy(params = {}, headers = {})
First item: parsed data; second item: raw body
44 45 46 |
# File 'lib/foreman_api/resources/template_combination.rb', line 44 def destroy(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) index(params = {}, headers = {})
First item: parsed data; second item: raw body
13 14 15 |
# File 'lib/foreman_api/resources/template_combination.rb', line 13 def index(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) show(params = {}, headers = {})
First item: parsed data; second item: raw body
35 36 37 |
# File 'lib/foreman_api/resources/template_combination.rb', line 35 def show(params = {}, headers = {}) perform_call(__method__, params, headers) end |