class Attio::APIResource
def changes
-
(Hash)
- Hash mapping attribute names to [old_value, new_value] arrays
def changes @changed_attributes.each_with_object({}) do |key, hash| hash[key.to_s] = [@original_attributes[key], @attributes[key]] end end