frex v0.1.2 Frex.Request
Handles the building of requests for sending to the Freshbooks API.
Summary
Functions
Builds an XML request from a given method and XML list
Paginates through a list to get all data in one big list
Checks the current page data to see if more pages need to be loaded
Functions
Builds an XML request from a given method and XML list.
Examples
Frex.Request.build("expenses.get", {:expense_id, %{}, 433})
# => "<?xml version="1.0" encoding="UTF-8" ?>
<request method="expenses.get">
<expense_id>433</expense_id>
</request>"
Paginates through a list to get all data in one big list.
Returns a list.