Codeship Status for mfeckie/pin_elixir

PinElixir

An elixir client for PinPayments

Installation

  1. Add pin_elixir to your list of dependencies in mix.exs:

     def deps do
       [{:pin_elixir, "~> 0.0.1"}]
     end
  2. Ensure pin_elixir is started before your application:

     def application do
       [applications: [:pin_elixir]]
     end
  3. Add the appropriate credentials and endpoints to your config files such as dev.exs

     config :pin_elixir,
     api_key: System.get_env("MY_API_KEY") || "my_super_secret_key",
     pin_url: "test-api.pin.net.au/1"
  4. Profit