# File lib/foreman_api/resources/template_combination.rb, line 4 def self.doc @doc ||= ForemanApi.doc['resources']["template_combinations"] end
@param [Hash] params a hash of params to be passed to the service @option params [String] config_template_id @option params [Hash] template_combination
allowed keys are: * environment_id [String, nil] Environment id * hostgroup_id [String, nil] Hostgroup id
@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body
# File lib/foreman_api/resources/template_combination.rb, line 26 def create(params = {}, headers = {}) perform_call(__method__, params, headers) end
@param [Hash] params a hash of params to be passed to the service @option params [String] id
@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body
# File lib/foreman_api/resources/template_combination.rb, line 44 def destroy(params = {}, headers = {}) perform_call(__method__, params, headers) end
@param [Hash] params a hash of params to be passed to the service @option params [String] config_template_id
@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body
# File lib/foreman_api/resources/template_combination.rb, line 13 def index(params = {}, headers = {}) perform_call(__method__, params, headers) end
@param [Hash] params a hash of params to be passed to the service @option params [String] id
@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body
# File lib/foreman_api/resources/template_combination.rb, line 35 def show(params = {}, headers = {}) perform_call(__method__, params, headers) end