Sha256: 8ff51c3e5b5d7f549d7f4bd18a0e036572421a60c45b85167694b0606d235680
Contents?: true
Size: 1.46 KB
Versions: 1
Compression:
Stored size: 1.46 KB
Contents
module KatelloApi module Resources class SystemGroupErratum < KatelloApi::Base def self.doc @doc ||= KatelloApi.doc['resources']["system_group_errata"] end # @param [Hash] params a hash of params to be passed to the service # @option params [String] organization_id oranization identifier # @option params [String] system_group_id system_group identifier # @option params [String] type filter errata by type # # @param [Hash] headers additional http headers def index(params = { }, headers = { }) check_params params, :allowed => true, :method => __method__ url, params = fill_params_in_url "/api/organizations/:organization_id/system_groups/:system_group_id/errata", params call(:"get", url, params, headers) end # @param [Hash] params a hash of params to be passed to the service # @option params [String] errata_ids list of errata ids to install # @option params [String] organization_id oranization identifier # @option params [String] system_group_id system_group identifier # # @param [Hash] headers additional http headers def create(params = { }, headers = { }) check_params params, :allowed => true, :method => __method__ url, params = fill_params_in_url "/api/organizations/:organization_id/system_groups/:system_group_id/errata", params call(:"post", url, params, headers) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
katello_api-0.0.1 | lib/katello_api/resources/system_group_erratum.rb |