Module: Mongrel::HttpHandlerPlugin
- Included in:
- RequestLog::Files, RequestLog::Objects, RequestLog::Params
- Defined in:
- lib/mongrel/handlers.rb
Overview
This is used when your handler is implemented as a GemPlugin. The plugin always takes an options hash which you can modify and then access later. They are stored by default for the process method later.
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
33 34 35 |
# File 'lib/mongrel/handlers.rb', line 33 def @options end |
Instance Method Details
#initialize(options = {}) ⇒ Object
35 36 37 |
# File 'lib/mongrel/handlers.rb', line 35 def initialize(={}) @options = end |
#process(request, response) ⇒ Object
39 40 |
# File 'lib/mongrel/handlers.rb', line 39 def process(request, response) end |