Method: Orchestration::Services::Mongo::Configuration#database
- Defined in:
- lib/orchestration/services/mongo/configuration.rb
#database ⇒ Object
19 20 21 22 23 |
# File 'lib/orchestration/services/mongo/configuration.rb', line 19 def database return url_config['database'] unless @env.mongo_url.nil? file_config.fetch('database', default_database) end |