class Crm::Core::Mixins::ChangeLoggable::Change
Change
represents a single change log entry contained in {ChangeLoggable#changes item.changes}. See {Crm::Core::Mixins::ChangeLoggable ChangeLoggable} for details. @api public
Public Class Methods
new(raw_change)
click to toggle source
Calls superclass method
Crm::Core::Mixins::AttributeProvider::new
# File lib/crm/core/mixins/change_loggable.rb, line 42 def initialize(raw_change) change = raw_change.dup change['details'] = change['details'].each_with_object({}) do |(attr_name, detail), hash| hash[attr_name] = Detail.new(detail) end super(change) end