Class: CaSmall::App
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- CaSmall::App
- Includes:
- Authorization
- Defined in:
- lib/casmall.rb
Instance Method Summary collapse
-
#initialize(mod, *args) ⇒ App
constructor
A new instance of App.
Methods included from Authorization
#authorization_realm, #current_user, #protect!
Constructor Details
#initialize(mod, *args) ⇒ App
Returns a new instance of App.
24 25 26 27 28 |
# File 'lib/casmall.rb', line 24 def initialize(mod, *args) super(*args) #the request handler. @ws = CaSmall::WebService.new(mod) end |