metu.life/config/initializers/stoplight.rb

3 lines
106 B

require 'stoplight'
Stoplight::Light.default_data_store = Stoplight::DataStore::Redis.new(Redis.current)