catstodon/config/initializers/stoplight.rb

3 lines
106 B
Ruby

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