Module: WelltreatStoreFramework::Controller
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/welltreat_store_framework/controller.rb
Defined Under Namespace
Classes: Request, Response
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
#app ⇒ Object
Returns the value of attribute app.
5
6
7
|
# File 'lib/welltreat_store_framework/controller.rb', line 5
def app
@app
end
|
Instance Method Details
#_flash_from(session) ⇒ Object
26
27
28
|
# File 'lib/welltreat_store_framework/controller.rb', line 26
def _flash_from(session)
session[:flash] ||= { }
end
|
#initialize(app) ⇒ Object
7
8
9
|
# File 'lib/welltreat_store_framework/controller.rb', line 7
def initialize(app)
@app = app
end
|
#serve(request) ⇒ Object
11
12
|
# File 'lib/welltreat_store_framework/controller.rb', line 11
def serve(request)
end
|