Sha256: 1a8aa67d989a5165504e7e3c181239b73e4dabcaac5aa21e01de9d11fcdf5a38
Contents?: true
Size: 1.77 KB
Versions: 5
Compression:
Stored size: 1.77 KB
Contents
module ForemanApi module Resources class TemplateCombination < ForemanApi::Base 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 # # @param [Hash] headers additional http headers # @return [Array] First item: parsed data; second item: raw body 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] 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 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 def show(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 def destroy(params = {}, headers = {}) perform_call(__method__, params, headers) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems