Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 599 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 599 Bytes

ExSignal

Elixir wrapper for the OneSignal API.

Documentation can be found at https://hexdocs.pm/ex_signal.

Installation

  1. Add ex_signal to your list of dependencies in mix.exs:
def deps do
  [{:ex_signal, "~> 0.3.0"}]
end
  1. Add this to your config.exs:
config :ex_signal,
  app_id: "your app id",
  api_key: "your api key"

To make testing easier, you can also provide your own ExSignal.Client implementation:

# test.exs
config :ex_signal, client: ClientMock