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

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