Sha256: cf08f64e88d183e9dc39095541e038c0f9aac2e0da4ed2ad6aff3a4be55149a3

Contents?: true

Size: 1.74 KB

Versions: 5

Compression:

Stored size: 1.74 KB

Contents

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

      # @param [Hash] params a hash of params to be passed to the service
      # @option params [String] id  id or name of the repository set to enable 
      # @option params [String] organization_id  id of an organization the repository will be contained in 
      # @option params [String] product_id  id of a product the repository will be contained in 
      #
      # @param [Hash] headers additional http headers
      # @return [Array] First item: parsed data; second item: raw body
      def enable(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 the repository set to disable 
      # @option params [String] organization_id  id of an organization the repository will be contained in 
      # @option params [String] product_id  id of a product the repository will be contained in 
      #
      # @param [Hash] headers additional http headers
      # @return [Array] First item: parsed data; second item: raw body
      def disable(params = {}, headers = {})
        perform_call(__method__, params, headers)
      end

      # @param [Hash] params a hash of params to be passed to the service
      # @option params [String] product_id  id of a product to list repository sets for 
      #
      # @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

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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