Module: Sinatra::SequelTransaction
- Defined in:
- lib/sinatra/sequel_transaction.rb
Overview
wrap routed request with sequel transaction block. note: this is NOT thread safe. please ensure not to be used in the multi-threaded apps.
Defined Under Namespace
Modules: Helpers
Class Method Summary collapse
Class Method Details
.registered(app) ⇒ Object
37 38 39 |
# File 'lib/sinatra/sequel_transaction.rb', line 37 def self.registered(app) app.helpers SequelTransaction::Helpers end |