class SharkOnLambda::Middleware::Base
Attributes
app[R]
Public Class Methods
new(app = nil)
click to toggle source
# File lib/shark_on_lambda/middleware/base.rb, line 8 def initialize(app = nil) @app = app end
Public Instance Methods
call(env)
click to toggle source
# File lib/shark_on_lambda/middleware/base.rb, line 12 def call(env) dup.call!(env) end
call!(_env)
click to toggle source
# File lib/shark_on_lambda/middleware/base.rb, line 16 def call!(_env) raise NotImplementedError end