@param [Hash] params a hash of params to be passed to the service @option params [String] host_id id of host @option params [String] puppetclass_id id of puppetclass
@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body
# File lib/foreman_api/resources/host_class.rb, line 23 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 id of puppetclass @option params [String] host_id id of host
@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body
# File lib/foreman_api/resources/host_class.rb, line 33 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 [Object] host_id Part of +/api/hosts/:host_id/puppetclass_ids+ path
@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body
# File lib/foreman_api/resources/host_class.rb, line 13 def index(params = {}, headers = {}) perform_call(__method__, params, headers) end
Generated with the Darkfish Rdoc Generator 2.