Sha256: 7fc54c7cc67a80565e92cda89fd49a6b2d68eb2064ae271a75f1b06d9469a676

Contents?: true

Size: 1.44 KB

Versions: 5

Compression:

Stored size: 1.44 KB

Contents

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

      # @param [Hash] params a hash of params to be passed to the service
      # @option params [String] repository_id  repository numeric identifier 
      #
      # @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 [String] repository_id  repository numeric identifier 
      # @option params [String] search  search expression 
      #
      # @param [Hash] headers additional http headers
      # @return [Array] First item: parsed data; second item: raw body
      def search(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  puppet module id 
      # @option params [String] repository_id  repository numeric identifier 
      #
      # @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/puppet_module.rb
katello_api-0.0.7 lib/katello_api/resources/puppet_module.rb
katello_api-0.0.6 lib/katello_api/resources/puppet_module.rb
katello_api-0.0.5 lib/katello_api/resources/puppet_module.rb
katello_api-0.0.4 lib/katello_api/resources/puppet_module.rb