Sha256: 04eb510a9049857630d2306a13b7b6c1a00bef4c8995a1a37560b9fdc2c834f6
Contents?: true
Size: 479 Bytes
Versions: 1
Compression:
Stored size: 479 Bytes
Contents
module Passport include Passport::Settings include Passport::Context include Passport::State include Passport::Certification include Passport::Installation end module Rack class Passport attr_accessor :middleware def initialize(app) @app = app self.middleware = [::Rack::Context.new(app), ::Passport::Filter.new(app)] end def call(env) self.middleware.each { |ware| ware.call(env) } @app.call(env) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
passport-0.1.1 | lib/passport/passport.rb |