lib/phrase/api/distributions_api.rb in phrase-2.5.0 vs lib/phrase/api/distributions_api.rb in phrase-2.5.1
- old
+ new
@@ -60,11 +60,11 @@
# return_type
return_type = opts[:return_type] || 'Distribution'
# 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,
@@ -130,11 +130,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,
@@ -202,11 +202,11 @@
# return_type
return_type = opts[:return_type] || 'Distribution'
# 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,
@@ -282,11 +282,11 @@
# return_type
return_type = opts[:return_type] || 'Distribution'
# 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,
@@ -354,10 +354,10 @@
# return_type
return_type = opts[:return_type] || 'Array<DistributionPreview>'
# 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,