lib/phrase/api/orders_api.rb in phrase-2.4.0 vs lib/phrase/api/orders_api.rb in phrase-2.5.0

- old
+ new

@@ -66,11 +66,11 @@ # return_type return_type = opts[:return_type] || 'TranslationOrder' # auth_names - auth_names = opts[:auth_names] || ['Basic', 'Token'] + auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth'] new_options = opts.merge( :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -140,11 +140,11 @@ # return_type return_type = opts[:return_type] || 'TranslationOrder' # auth_names - auth_names = opts[:auth_names] || ['Basic', 'Token'] + auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth'] new_options = opts.merge( :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -213,11 +213,11 @@ # return_type return_type = opts[:return_type] # auth_names - auth_names = opts[:auth_names] || ['Basic', 'Token'] + auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth'] new_options = opts.merge( :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -288,11 +288,11 @@ # return_type return_type = opts[:return_type] || 'TranslationOrder' # auth_names - auth_names = opts[:auth_names] || ['Basic', 'Token'] + auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth'] new_options = opts.merge( :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -363,10 +363,10 @@ # return_type return_type = opts[:return_type] || 'Array<TranslationOrder>' # auth_names - auth_names = opts[:auth_names] || ['Basic', 'Token'] + auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth'] new_options = opts.merge( :header_params => header_params, :query_params => query_params, :form_params => form_params,