class Attio::APIResource
def update_from(response)
def update_from(response) normalized = normalize_attributes(response) @id = normalized[:id] if normalized[:id] @created_at = parse_timestamp(normalized[:created_at]) if normalized[:created_at] normalized.each do |key, value| next if SKIP_KEYS.include?(key) @attributes[key] = process_attribute_value(value) end reset_changes! self end