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

- old
+ new

@@ -60,11 +60,11 @@ # return_type return_type = opts[:return_type] || 'Invitation' # 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, @@ -130,11 +130,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, @@ -202,11 +202,11 @@ # return_type return_type = opts[:return_type] || 'Invitation' # 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, @@ -274,11 +274,11 @@ # return_type return_type = opts[:return_type] || 'Invitation' # 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, @@ -354,11 +354,11 @@ # return_type return_type = opts[:return_type] || 'Invitation' # 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, @@ -434,11 +434,11 @@ # return_type return_type = opts[:return_type] || 'Invitation' # 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, @@ -506,10 +506,10 @@ # return_type return_type = opts[:return_type] || 'Array<Invitation>' # 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,