Sha256: 85fe2d09ddd2017b079e6739811eb57da0983f0e8169e70cdcadffd291912813
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