class Attio::APIResource
def []=(key, value)
-
value
(Object
) -- The value to set -
key
(String, Symbol
) -- The attribute key to set
def []=(key, value) key = key.to_sym old_value = @attributes[key] new_value = process_attribute_value(value) return if old_value == new_value @attributes[key] = new_value @changed_attributes.add(key) end