ElibomEx v0.1.1 ElibomEx.Client View Source

Wrap api calls

Link to this section Summary

Types

Describes the different type of responses from Elibom’s API

Functions

Cancels a scheduled sms

consults account details

Consults the current state of an already sent sms

Consults the state of an scheduled sms

Fetch users attached to the current session

Requests to Elibom’s service to dispatch a new sms

Link to this section Types

Link to this type http_empty_response() View Source
http_empty_response() :: :ok
Link to this type http_error_calling_service() View Source
http_error_calling_service() :: {:error, String.t}
Link to this type http_error_in_request() View Source
http_error_in_request() :: {:error, map, number}
Link to this type http_succeed() View Source
http_succeed() :: {:ok, map}

Describes the different type of responses from Elibom’s API

Link to this section Functions

Cancels a scheduled sms

Raises ArgumentError exception if the schedule_id is nil or empty

Consults the current state of an already sent sms.

Raises ArgumentErrorexception if the delivery_id is nil or empty

Link to this function consult_scheduled_deliveries(schedule_id) View Source

Consults the state of an scheduled sms.

Raises ArgumentError exception if the schedule_id is nil or empty

Fetch users attached to the current session

Requests to Elibom’s service to dispatch a new sms.

Raises ArgumentErrorexception when one or more of the required parameters are nil or empty.