lib/cloudsmith-api/api/distros_api.rb in cloudsmith-api-0.30.7 vs lib/cloudsmith-api/api/distros_api.rb in cloudsmith-api-0.44.4

- old
+ new

@@ -49,11 +49,11 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['apikey', 'basic', 'csrf_token'] + auth_names = ['apikey', 'csrf_token'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -63,22 +63,22 @@ @api_client.config.logger.debug "API called: DistrosApi#distros_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # View for viewing/listing package formats. - # View for viewing/listing package formats. + # View for viewing/listing distributions. + # View for viewing/listing distributions. # @param slug # @param [Hash] opts the optional parameters # @return [Distribution] def distros_read(slug, opts = {}) data, _status_code, _headers = distros_read_with_http_info(slug, opts) return data end - # View for viewing/listing package formats. - # View for viewing/listing package formats. + # View for viewing/listing distributions. + # View for viewing/listing distributions. # @param slug # @param [Hash] opts the optional parameters # @return [Array<(Distribution, Fixnum, Hash)>] Distribution data, response status code and response headers def distros_read_with_http_info(slug, opts = {}) if @api_client.config.debugging @@ -100,10 +100,10 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['apikey', 'basic', 'csrf_token'] + auth_names = ['apikey', 'csrf_token'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body,