Class: Spyder::RouterApp
- Inherits:
-
Object
- Object
- Spyder::RouterApp
- Defined in:
- lib/spyder/router.rb
Instance Method Summary collapse
- #call(ctx, request) ⇒ Object
-
#initialize(router, _) ⇒ RouterApp
constructor
A new instance of RouterApp.
Constructor Details
#initialize(router, _) ⇒ RouterApp
Returns a new instance of RouterApp.
34 35 36 |
# File 'lib/spyder/router.rb', line 34 def initialize(router, _) @router = router end |
Instance Method Details
#call(ctx, request) ⇒ Object
38 39 40 |
# File 'lib/spyder/router.rb', line 38 def call(ctx, request) @router.call(ctx, request) end |