Sha256: 0668d53e9f56f46b95c0597580dc7ef9f287bd6639d1e71ef26543d73145e42e

Contents?: true

Size: 1.15 KB

Versions: 5

Compression:

Stored size: 1.15 KB

Contents

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

      # @param [Hash] params a hash of params to be passed to the service
      # @option params [String] changeset_id  id of the product to remove 
      # @option params [Hash] content_view
      #   allowed keys are:
      #   * id [String]  id of the content view to add 
      #
      # @param [Hash] headers additional http headers
      # @return [Array] First item: parsed data; second item: raw body
      def add_content_view(params = {}, headers = {})
        perform_call(__method__, params, headers)
      end

      # @param [Hash] params a hash of params to be passed to the service
      # @option params [String] changeset_id
      # @option params [String] content_view_id  id of the content view to remove 
      #
      # @param [Hash] headers additional http headers
      # @return [Array] First item: parsed data; second item: raw body
      def remove_content_view(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/changesets_content.rb
katello_api-0.0.7 lib/katello_api/resources/changesets_content.rb
katello_api-0.0.6 lib/katello_api/resources/changesets_content.rb
katello_api-0.0.5 lib/katello_api/resources/changesets_content.rb
katello_api-0.0.4 lib/katello_api/resources/changesets_content.rb