class Attio::List

def id_for_path

Override the default id extraction for API paths
def id_for_path
  return nil unless persisted?
  id.is_a?(Hash) ? (id[:list_id] || id["list_id"]) : id
end