Module: Waves::Views::Mixin

Includes:
ResponseMixin
Included in:
Base
Defined in:
lib/waves/views/mixin.rb

Instance Attribute Summary collapse

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

#requestObject (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