Class: ScenarioServer
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- ScenarioServer
- Defined in:
- lib/scenarios/application/app.rb
Constant Summary collapse
- DEFAULT_SCENARIO =
'default'
Instance Attribute Summary collapse
-
#db ⇒ Object
Returns the value of attribute db.
-
#routes ⇒ Object
Returns the value of attribute routes.
-
#scenario_db ⇒ Object
Returns the value of attribute scenario_db.
-
#scenarios ⇒ Object
Returns the value of attribute scenarios.
-
#testdata ⇒ Object
Returns the value of attribute testdata.
Instance Attribute Details
#db ⇒ Object
Returns the value of attribute db.
11 12 13 |
# File 'lib/scenarios/application/app.rb', line 11 def db @db end |
#routes ⇒ Object
Returns the value of attribute routes.
11 12 13 |
# File 'lib/scenarios/application/app.rb', line 11 def routes @routes end |
#scenario_db ⇒ Object
Returns the value of attribute scenario_db.
11 12 13 |
# File 'lib/scenarios/application/app.rb', line 11 def scenario_db @scenario_db end |
#scenarios ⇒ Object
Returns the value of attribute scenarios.
11 12 13 |
# File 'lib/scenarios/application/app.rb', line 11 def scenarios @scenarios end |
#testdata ⇒ Object
Returns the value of attribute testdata.
11 12 13 |
# File 'lib/scenarios/application/app.rb', line 11 def testdata @testdata end |