Current section

Files

Jump to
excalt lib excalt vcard parser.ex
Raw

lib/excalt/vcard/parser.ex

defmodule Excalt.Vcard.Parser do
@moduledoc false
def parse_addressbooks(xml_response) do
Saxy.parse_string(xml_response, Excalt.Vcard.AddressbookHandler, {nil, []})
end
def parse_contacts_from_addressbook(xml_response) do
Saxy.parse_string(xml_response, Excalt.Vcard.ContactHandler, {nil, []})
end
end