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

Defined in:
lib/mongoid/clients/thread_options.rb

Instance Method Summary collapse

Instance Method Details

#client_nameObject



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

def client_name
  Threaded.client_override || super
end

#database_nameObject



13
14
15
# File 'lib/mongoid/clients/thread_options.rb', line 13

def database_name
  Threaded.database_override || super
end