Method: Mongo::Auth::Base#connection
- Defined in:
- lib/mongo/auth/base.rb
#connection ⇒ Mongo::Connection (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 connection to authenticate over.
33 34 35 |
# File 'lib/mongo/auth/base.rb', line 33 def connection @connection end |