lib/phrase/api/projects_api.rb in phrase-2.5.0 vs lib/phrase/api/projects_api.rb in phrase-2.5.1
- old
+ new
@@ -54,11 +54,11 @@
# return_type
return_type = opts[:return_type] || 'ProjectDetails'
# 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,
@@ -118,11 +118,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,
@@ -184,11 +184,11 @@
# return_type
return_type = opts[:return_type] || 'ProjectDetails'
# 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,
@@ -258,11 +258,11 @@
# return_type
return_type = opts[:return_type] || 'ProjectDetails'
# 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,
@@ -333,10 +333,10 @@
# return_type
return_type = opts[:return_type] || 'Array<Project>'
# 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,