Class: ScenarioServer

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/scenarios/application/app.rb

Constant Summary collapse

DEFAULT_SCENARIO =
'default'

Instance Attribute Summary collapse

Instance Attribute Details

#dbObject

Returns the value of attribute db.



11
12
13
# File 'lib/scenarios/application/app.rb', line 11

def db
  @db
end

#routesObject

Returns the value of attribute routes.



11
12
13
# File 'lib/scenarios/application/app.rb', line 11

def routes
  @routes
end

#scenario_dbObject

Returns the value of attribute scenario_db.



11
12
13
# File 'lib/scenarios/application/app.rb', line 11

def scenario_db
  @scenario_db
end

#scenariosObject

Returns the value of attribute scenarios.



11
12
13
# File 'lib/scenarios/application/app.rb', line 11

def scenarios
  @scenarios
end

#testdataObject

Returns the value of attribute testdata.



11
12
13
# File 'lib/scenarios/application/app.rb', line 11

def testdata
  @testdata
end