Class: RailsRole::MyApp
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- RailsRole::MyApp
- Includes:
- DbCrap
- Defined in:
- lib/app_role.rb
Instance Method Summary collapse
-
#initialize(active_links, manifest) ⇒ MyApp
constructor
A new instance of MyApp.
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) ⇒ MyApp
Returns a new instance of MyApp.
50 51 52 53 54 |
# File 'lib/app_role.rb', line 50 def initialize(active_links, manifest) @active_links = active_links @manifest = manifest super() end |