Class: ExposeDB::App
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- ExposeDB::App
- Defined in:
- lib/expose_db/app.rb
Class Attribute Summary collapse
-
.db ⇒ Object
readonly
Returns the value of attribute db.
Class Method Summary collapse
Class Attribute Details
.db ⇒ Object (readonly)
Returns the value of attribute db.
6 7 8 |
# File 'lib/expose_db/app.rb', line 6 def db @db end |
Class Method Details
.run!(sequel_db, *args) ⇒ Object
8 9 10 11 |
# File 'lib/expose_db/app.rb', line 8 def run!(sequel_db, *args) @db = sequel_db super(*args) end |