Sha256: c86ac89af6ef056231d56a2c0ffa152b9d6ec114d84adbe80b7424eb2f58128b

Contents?: true

Size: 1.47 KB

Versions: 5

Compression:

Stored size: 1.47 KB

Contents

module KatelloApi
  module Resources
    class Erratum < KatelloApi::Base
      def self.doc
        @doc ||= KatelloApi.doc['resources']["errata"]
      end

      # @param [Hash] params a hash of params to be passed to the service
      # @option params [String] environment_id  the environment containing the errata. 
      # @option params [String] product_id  the product which contains errata. 
      # @option params [String] repository_id  the repository which contains errata. 
      # @option params [String] severity  severity of errata. usually one of: critical, important, moderate, low. case insensitive. 
      # @option params [String] type  type of errata. usually one of: security, bugfix, enhancement. case insensitive. 
      #
      # @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 [Object] id Part of +/api/repositories/:repository_id/errata/:id+ path
      # @option params [Object] repository_id Part of +/api/repositories/:repository_id/errata/:id+ path
      #
      # @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

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
katello_api-0.0.8 lib/katello_api/resources/erratum.rb
katello_api-0.0.7 lib/katello_api/resources/erratum.rb
katello_api-0.0.6 lib/katello_api/resources/erratum.rb
katello_api-0.0.5 lib/katello_api/resources/erratum.rb
katello_api-0.0.4 lib/katello_api/resources/erratum.rb