Sha256: c553ddb7260bd230c11e825eee45b43312c6d7ee863235890f0d22a284eec33a
Contents?: true
Size: 1.06 KB
Versions: 7
Compression:
Stored size: 1.06 KB
Contents
module KatelloApi module Resources class Distribution < KatelloApi::Base def self.doc @doc ||= KatelloApi.doc['resources']["distributions"] end # @param [Hash] params a hash of params to be passed to the service # @option params [Object] repository_id Part of +/api/repositories/:repository_id/distributions+ path # # @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 [Object] id Part of +/api/repositories/:repository_id/distributions/:id+ path # @option params [String] repository_id repository numeric id # # @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
7 entries across 7 versions & 1 rubygems