Connector (connector v0.1.1) View Source

Documentation for Connector.

Link to this section Summary

Link to this section Functions

Specs

get_all_sms(map()) :: {:ok, {:ok, map()}} | {:error, String.t()}

get all sms.

Examples

iex> Connector.get_all_sms(%{:api_key => "your-api-key"})
:ok
Link to this function

send_sms(message, mobile, options)

View Source

Specs

send_sms(String.t(), String.t(), map()) :: :ok | {:error, String.t()}

send_sms.

Examples

iex> Connector.send_sms("hey", "+244944568978", %{:api_key => "your-api-key"})
:ok