Sha256: d6242f3213be38e477d3439489f21bb221813b065bfd0dee7c5b51ad446b5e51

Contents?: true

Size: 488 Bytes

Versions: 3

Compression:

Stored size: 488 Bytes

Contents

module ForemanApi
  module Resources
    class Plugin < ForemanApi::Base
      def self.doc
        @doc ||= ForemanApi.doc['resources']["plugins"]
      end

      # @param [Hash] params a hash of params to be passed to the service
      #
      # @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

3 entries across 3 versions & 1 rubygems

Version Path
foreman_api-0.1.11 lib/foreman_api/resources/plugin.rb
foreman_api-0.1.10 lib/foreman_api/resources/plugin.rb
foreman_api-0.1.9 lib/foreman_api/resources/plugin.rb