lib/phrase/api/locales_api.rb in phrase-2.5.0 vs lib/phrase/api/locales_api.rb in phrase-2.5.1

- old
+ new

@@ -58,11 +58,11 @@ # return_type return_type = opts[:return_type] || 'Array<LocalePreview1>' # auth_names - auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth'] + auth_names = opts[:auth_names] || ['Basic', 'Token'] new_options = opts.merge( :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -132,11 +132,11 @@ # return_type return_type = opts[:return_type] || 'LocaleDetails' # auth_names - auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth'] + auth_names = opts[:auth_names] || ['Basic', 'Token'] new_options = opts.merge( :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -205,11 +205,11 @@ # return_type return_type = opts[:return_type] # auth_names - auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth'] + auth_names = opts[:auth_names] || ['Basic', 'Token'] new_options = opts.merge( :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -325,11 +325,11 @@ # return_type return_type = opts[:return_type] || 'File' # auth_names - auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth'] + auth_names = opts[:auth_names] || ['Basic', 'Token'] new_options = opts.merge( :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -400,11 +400,11 @@ # return_type return_type = opts[:return_type] || 'LocaleDetails' # auth_names - auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth'] + auth_names = opts[:auth_names] || ['Basic', 'Token'] new_options = opts.merge( :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -480,11 +480,11 @@ # return_type return_type = opts[:return_type] || 'LocaleDetails' # auth_names - auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth'] + auth_names = opts[:auth_names] || ['Basic', 'Token'] new_options = opts.merge( :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -558,10 +558,10 @@ # return_type return_type = opts[:return_type] || 'Array<Locale>' # auth_names - auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth'] + auth_names = opts[:auth_names] || ['Basic', 'Token'] new_options = opts.merge( :header_params => header_params, :query_params => query_params, :form_params => form_params,