Method: Mongo::Auth::Base#user
- Defined in:
- lib/mongo/auth/base.rb
#user ⇒ Mongo::Auth::User (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns The user to authenticate.
30 31 32 |
# File 'lib/mongo/auth/base.rb', line 30 def user @user end |