@param [Hash] params a hash of params to be passed to the service @option params [Hash, nil] puppetclass
allowed keys are: * name [String]
@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body
# File lib/foreman_api/resources/puppetclass.rb, line 42 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/puppetclass.rb, line 63 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] environment_id id of nested environment @option params [String] host_id id of nested host @option params [String] hostgroup_id id of nested hostgroup @option params [String] order sort results @option params [String] page paginate results @option params [String] per_page number of entries per request @option params [String] search filter results
@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body
# File lib/foreman_api/resources/puppetclass.rb, line 19 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 id of puppetclass @option params [String] environment_id id of nested environment @option params [String] host_id id of nested host @option params [String] hostgroup_id id of nested hostgroup
@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body
# File lib/foreman_api/resources/puppetclass.rb, line 31 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 @option params [Hash, nil] puppetclass
allowed keys are: * name [String]
@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body
# File lib/foreman_api/resources/puppetclass.rb, line 54 def update(params = {}, headers = {}) perform_call(__method__, params, headers) end
Generated with the Darkfish Rdoc Generator 2.