Module: Mongoid::Clients::ThreadOptions::ClassMethods

Extended by:
Gem::Deprecate
Defined in:
lib/mongoid/clients/thread_options.rb

Instance Method Summary collapse

Instance Method Details

#client_nameObject Also known as: session_name



10
11
12
# File 'lib/mongoid/clients/thread_options.rb', line 10

def client_name
  Threaded.client_override || super
end

#database_nameObject



16
17
18
# File 'lib/mongoid/clients/thread_options.rb', line 16

def database_name
  Threaded.database_override || super
end