about summary refs log tree commit diff
path: root/config/initializers/stoplight.rb
blob: 7384b2e9a6ba7dda373471c9340eaabfd1601714 (plain) (blame)
1
2
3
4
require 'stoplight'

Stoplight::Light.default_data_store = Stoplight::DataStore::Redis.new(Redis.current)
Stoplight::Light.default_notifiers  = [Stoplight::Notifier::Logger.new(Rails.logger)]