Class: Kris::Kross::Handler
- Inherits:
-
Object
- Object
- Kris::Kross::Handler
- Includes:
- Singleton
- Defined in:
- lib/kris-kross/handler.rb
Instance Attribute Summary collapse
-
#app ⇒ Object
Returns the value of attribute app.
Instance Method Summary collapse
Instance Attribute Details
#app ⇒ Object
Returns the value of attribute app.
6 7 8 |
# File 'lib/kris-kross/handler.rb', line 6 def app @app end |
Instance Method Details
#call(env) ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/kris-kross/handler.rb', line 8 def call(env) @env = env if [200, option_request_headers, [""]] else respond(env) end end |