Method: Mongoid::Errors::NoClientHosts#initialize
- Defined in:
- lib/mongoid/errors/no_client_hosts.rb
#initialize(name, config) ⇒ NoClientHosts
Create the new error.
17 18 19 20 21 22 23 24 |
# File 'lib/mongoid/errors/no_client_hosts.rb', line 17 def initialize(name, config) super( ( "no_client_hosts", { name: name, config: config } ) ) end |