class Isolator::Configuration
defauls to false
- ‘send_notifications` - whether to send notifications (through uniform_notifier);
- `logger` - logger instance (nil by default)
NOTE: env is infered from RACK_ENV and RAILS_ENV.
defaults to true in test env and false otherwise.
- `raise_exceptions` - whether to raise an exception in case of offense;
Isolator configuration:
def initialize
def initialize @logger = nil @raise_exceptions = test_env? @send_notifications = false end
def test_env?
def test_env? ENV["RACK_ENV"] == "test" || ENV["RAILS_ENV"] == "test" end