Class: MagentWeb::App

Inherits:
Sinatra::Base
  • Object
show all
Includes:
MongoHelper
Defined in:
lib/magent_web/app.rb

Instance Method Summary collapse

Methods included from MongoHelper

#channel_name_for, #document_list, #file_size, #humanize, #humanize_messages, #normalize_stats, #query_options, #queue_path, #queues, #server_status

Constructor Details

#initialize(*args) ⇒ App

Returns a new instance of App.



11
12
13
14
# File 'lib/magent_web/app.rb', line 11

def initialize(*args)
  MagentWeb.connect
  super(*args)
end