Method: Mongo::Auth::CredentialCache.get
- Defined in:
- lib/mongo/auth/credential_cache.rb
.get(key) ⇒ Object
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.
31 32 33 34 35 36 |
# File 'lib/mongo/auth/credential_cache.rb', line 31 module_function def get(key) MUTEX.synchronize do @store ||= {} @store[key] end end |