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

- old
+ new

@@ -56,11 +56,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, @@ -128,11 +128,11 @@ # return_type return_type = opts[:return_type] || 'Member' # 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, @@ -208,11 +208,11 @@ # return_type return_type = opts[:return_type] || 'Member' # 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] || 'MemberProjectDetail' # 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, @@ -360,10 +360,10 @@ # return_type return_type = opts[:return_type] || 'Array<Member>' # 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,