Sha256: 3c4d46e12ccb50ae342349ff8e7ef44299d9a404ef0fda570ce2e7f1c720602c
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 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 # # @param [Hash] headers additional http headers def index(params = { }, headers = { }) check_params params, :allowed => false, :method => __method__ url, params = fill_params_in_url "/api/repositories/:repository_id/distributions", params call(:"get", url, params, headers) end # @param [Hash] params a hash of params to be passed to the service # @option params [String] repository_id repository numeric id # # @param [Hash] headers additional http headers def show(params = { }, headers = { }) check_params params, :allowed => true, :method => __method__ url, params = fill_params_in_url "/api/repositories/:repository_id/distributions/:id", params call(:"get", url, params, headers) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
katello_api-0.0.1 | lib/katello_api/resources/distribution.rb |