Module: Waves::Views::Mixin
Instance Attribute Summary collapse
-
#request ⇒ Object
readonly
Returns the value of attribute request.
Instance Method Summary collapse
Methods included from ResponseMixin
#app, #attributes, #captured, #controller, #http_cache, #log, #main, #model, #model_name, #modified?, #not_found, #not_modified, #params, #paths, #query, #redirect, #resource, #response, #traits, #view
Instance Attribute Details
#request ⇒ Object (readonly)
Returns the value of attribute request.
7 8 9 |
# File 'lib/waves/views/mixin.rb', line 7 def request @request end |
Instance Method Details
#initialize(request) ⇒ Object
11 12 13 14 |
# File 'lib/waves/views/mixin.rb', line 11 def initialize( request ) @request = request super() end |