Class: Fish0::Configuration

Inherits:
Object
  • Object
show all
Includes:
ActiveSupport::Configurable
Defined in:
lib/fish0/configuration.rb

Overview

Fish0::Configuration

Usage:

# config/initializers/fish0.rb
Fish0::Configuration.configure do |config|
  config.mongo_uri = 'mongodb://user:password@host_1:27017,replica_host_2:27017/'\
    'fish0_development?auth_source=admin'
  config.mongo_params = { read: { mode: :secondary } }
end