Akd v0.2.4 FreshbooksApiClient View Source

A Wrapper around Freshbooks API

This package is an extendable wrapper, so it will only let you see resources that correspond to permissions associated with the API token

This package can be configured with default token and subdomain. This package can also be configured with a default caller. It should be used mainly for testing purposes.

Example Configuration (dev.exs)(Optional):

config :freshbooks_api_client, FreshbooksApiClient,
  caller: FreshbooksApiClient.Caller.HttpXml,
  token: "YOUR_FRESHBOOKS_API_TOKEN",
  subdomain: "sample"

Example Configuration (test.exs)(Optional):

config :freshbooks_api_client, FreshbooksApiClient,
  caller: FreshbooksApiClient.InMemory,
  token: "thuum",
  subdomain: "skyrim"