class Attio::List
def remove_record(entry_id, **opts)
def remove_record(entry_id, **opts) list_id = id.is_a?(Hash) ? id["list_id"] : id client = Attio.client(api_key: opts[:api_key]) client.delete("lists/#{list_id}/entries/#{entry_id}") end
def remove_record(entry_id, **opts) list_id = id.is_a?(Hash) ? id["list_id"] : id client = Attio.client(api_key: opts[:api_key]) client.delete("lists/#{list_id}/entries/#{entry_id}") end