Class: Txdb::Handlers::Triggers::Handler
- Inherits:
-
Object
- Object
- Txdb::Handlers::Triggers::Handler
- Includes:
- ResponseHelpers
- Defined in:
- lib/txdb/handlers/triggers/handler.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#request ⇒ Object
readonly
Returns the value of attribute request.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(request) ⇒ Handler
constructor
A new instance of Handler.
Constructor Details
#initialize(request) ⇒ Handler
15 16 17 |
# File 'lib/txdb/handlers/triggers/handler.rb', line 15 def initialize(request) @request = request end |
Instance Attribute Details
#request ⇒ Object (readonly)
Returns the value of attribute request.
13 14 15 |
# File 'lib/txdb/handlers/triggers/handler.rb', line 13 def request @request end |
Class Method Details
.handle_request(request) ⇒ Object
8 9 10 |
# File 'lib/txdb/handlers/triggers/handler.rb', line 8 def handle_request(request) new(request).handle end |