Class: StatsRole::StatsApp
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- StatsRole::StatsApp
- Includes:
- DbCrap
- Defined in:
- lib/stats_role.rb
Instance Method Summary collapse
-
#initialize(active_links, manifest) ⇒ StatsApp
constructor
A new instance of StatsApp.
Methods included from DbCrap
#get_peer_db_for, #get_read_db, #get_write_db, #list, #on_each_peer, #use_peer_dbs?, #write
Constructor Details
#initialize(active_links, manifest) ⇒ StatsApp
Returns a new instance of StatsApp.
44 45 46 47 48 |
# File 'lib/stats_role.rb', line 44 def initialize(active_links, manifest) @active_links = active_links @manifest = manifest super() end |