Method: Jets::Controller::Base#initialize

Defined in:
lib/jets/controller/base.rb

#initialize(event, context = {}, meth) ⇒ Base

Returns a new instance of Base.



17
18
19
20
21
# File 'lib/jets/controller/base.rb', line 17

def initialize(event, context={}, meth)
  super
  @request = Request.new(event, context)
  @response = Response.new
end