frex v0.1.0 Frex.Parser

Module for parsing the response of endpoint calls.

Summary

Functions

Parses a Freshbooks XML response (xml_string) and returns a map of its attributes

Functions

parse(xml_string)

Parses a Freshbooks XML response (xml_string) and returns a map of its attributes.

Returns a tuple with :ok and a Map if the response is to a single item.

Returns a tuple with :ok and a List of Maps if the response is multiple item.