work around strange constant lookup

This commit is contained in:
Konstantin Haase 2015-09-17 15:10:27 +02:00
parent 9303a24595
commit dc0da3645a

View File

@ -2,6 +2,8 @@ require 'rack/attack'
module Travis::Api
class Attack < Rack::Attack
DalliProxy = Rack::Attack::DalliProxy # ?
module Request
TOKEN = 'travis.access_token'.freeze
Rack::Attack::Request.prepend(self)