class ViewModel::ActiveRecord::AbstractCollectionUpdate::Replace

Wraps a complete collection of new data: either UpdateDatas for non-root associations or reference strings for root.

Attributes

contents[R]

Public Class Methods

new(contents) click to toggle source
# File lib/view_model/active_record/update_data.rb, line 62
def initialize(contents)
  @contents = contents
end