Sha256: c29db40fbefd69bfa0edb9767d1b09c1842a1caf56b6103adcd40a134a9d7abf

Contents?: true

Size: 1.38 KB

Versions: 3

Compression:

Stored size: 1.38 KB

Contents

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

      # @param [Hash] params a hash of params to be passed to the service
      # @option params [Array] ids  list of product ids 
      #
      # @param [Hash] headers additional http headers
      # @return [Array] First item: parsed data; second item: raw body
      def destroy_products(params = {}, headers = {})
        perform_call(__method__, params, headers)
      end

      # @param [Hash] params a hash of params to be passed to the service
      # @option params [Array] ids  list of product ids 
      #
      # @param [Hash] headers additional http headers
      # @return [Array] First item: parsed data; second item: raw body
      def sync_products(params = {}, headers = {})
        perform_call(__method__, params, headers)
      end

      # @param [Hash] params a hash of params to be passed to the service
      # @option params [String] plan_id  sync plan identifier to attach 
      # @option params [Array] ids  list of product ids 
      #
      # @param [Hash] headers additional http headers
      # @return [Array] First item: parsed data; second item: raw body
      def update_sync_plans(params = {}, headers = {})
        perform_call(__method__, params, headers)
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
katello_api-0.0.8 lib/katello_api/resources/products_bulk_action.rb
katello_api-0.0.7 lib/katello_api/resources/products_bulk_action.rb
katello_api-0.0.6 lib/katello_api/resources/products_bulk_action.rb