Sha256: 31044663a4df5671363176da9d8464c1b669e94ae07391efcf4b49802f517bd6
Contents?: true
Size: 1.48 KB
Versions: 5
Compression:
Stored size: 1.48 KB
Contents
module ForemanApi module Resources class Setting < ForemanApi::Base def self.doc @doc ||= ForemanApi.doc['resources']["settings"] end # @param [Hash] params a hash of params to be passed to the service # @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 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 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] setting # allowed keys are: # * value [String] # # @param [Hash] headers additional http headers # @return [Array] First item: parsed data; second item: raw body def update(params = {}, headers = {}) perform_call(__method__, params, headers) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems