lib/cloudsmith-api/api/namespaces_api.rb in cloudsmith-api-2.0.13 vs lib/cloudsmith-api/api/namespaces_api.rb in cloudsmith-api-2.0.14

- old
+ new

@@ -58,11 +58,11 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', '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, @@ -71,22 +71,22 @@ if @api_client.config.debugging @api_client.config.logger.debug "API called: NamespacesApi#namespaces_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # Views for working with namespaces. - # Views for working with namespaces. + # Get a specific namespace that the user belongs to. + # Get a specific namespace that the user belongs to. # @param slug # @param [Hash] opts the optional parameters # @return [Namespace] def namespaces_read(slug, opts = {}) data, _status_code, _headers = namespaces_read_with_http_info(slug, opts) data end - # Views for working with namespaces. - # Views for working with namespaces. + # Get a specific namespace that the user belongs to. + # Get a specific namespace that the user belongs to. # @param slug # @param [Hash] opts the optional parameters # @return [Array<(Namespace, Fixnum, Hash)>] Namespace data, response status code and response headers def namespaces_read_with_http_info(slug, opts = {}) if @api_client.config.debugging @@ -112,10 +112,10 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', '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,