Class: ViewModel::ActiveRecord::FunctionalUpdate::Update
- Inherits:
-
Object
- Object
- ViewModel::ActiveRecord::FunctionalUpdate::Update
- Defined in:
- lib/view_model/active_record/update_data.rb
Constant Summary collapse
- NAME =
'update'
Instance Attribute Summary collapse
-
#contents ⇒ Object
readonly
Returns the value of attribute contents.
Instance Method Summary collapse
-
#initialize(contents) ⇒ Update
constructor
A new instance of Update.
Constructor Details
#initialize(contents) ⇒ Update
Returns a new instance of Update.
37 38 39 |
# File 'lib/view_model/active_record/update_data.rb', line 37 def initialize(contents) @contents = contents end |
Instance Attribute Details
#contents ⇒ Object (readonly)
Returns the value of attribute contents.
35 36 37 |
# File 'lib/view_model/active_record/update_data.rb', line 35 def contents @contents end |