Sha256: e4e14aa4877804b1a4a814b0b91d2190c01b1aa4a7e877a0b0df24d9f1060208

Contents?: true

Size: 309 Bytes

Versions: 15

Compression:

Stored size: 309 Bytes

Contents

require "rorvswild/local/middleware"
require "rorvswild/local/queue"

module RorVsWild
  module Local
    def self.start(config = {})
      Rails.application.config.middleware.unshift(RorVsWild::Local::Middleware, nil)
      RorVsWild.start(config.merge(queue: RorVsWild::Local::Queue.new))
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rorvswild-1.7.1 lib/rorvswild/local.rb
rorvswild-1.7.0 lib/rorvswild/local.rb
rorvswild-1.6.5 lib/rorvswild/local.rb
rorvswild-1.6.4 lib/rorvswild/local.rb
rorvswild-1.6.3 lib/rorvswild/local.rb
rorvswild-1.6.2 lib/rorvswild/local.rb
rorvswild-1.6.1 lib/rorvswild/local.rb
rorvswild-1.6.0 lib/rorvswild/local.rb
rorvswild-1.5.17 lib/rorvswild/local.rb
rorvswild-1.5.16 lib/rorvswild/local.rb
rorvswild-1.5.15 lib/rorvswild/local.rb
rorvswild-1.5.14 lib/rorvswild/local.rb
rorvswild-1.5.13 lib/rorvswild/local.rb
rorvswild-1.5.12 lib/rorvswild/local.rb
rorvswild-1.5.11 lib/rorvswild/local.rb