Class: StatsRole::StatsApp

Inherits:
Sinatra::Base
  • Object
show all
Includes:
DbCrap
Defined in:
lib/stats_role.rb

Instance Method Summary collapse

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