MailerLite v0.3.0 MailerLite View Source
Shared types and functions used by other modules.
Link to this section Summary
Types
MailerLite ID's are comprised of 7 non_neg_integers. i.e. 6306138
MailerLite subscriber object
UNIX timestamp integer
Link to this section Types
Link to this type
id()
View Source
id()
View Source
id() :: non_neg_integer()
id() :: non_neg_integer()
MailerLite ID's are comprised of 7 non_neg_integers. i.e. 6306138
Link to this type
subscriber()
View Source
subscriber()
View Source
subscriber() :: %{
clicked: non_neg_integer(),
date_created: String.t(),
date_subscribe: String.t(),
date_unsubscribe: String.t(),
email: String.t(),
fields: [%{key: String.t(), type: String.t(), value: String.t()}],
id: non_neg_integer(),
name: String.t(),
opened: non_neg_integer(),
sent: non_neg_integer(),
type: String.t()
}
subscriber() :: %{
clicked: non_neg_integer(),
date_created: String.t(),
date_subscribe: String.t(),
date_unsubscribe: String.t(),
email: String.t(),
fields: [%{key: String.t(), type: String.t(), value: String.t()}],
id: non_neg_integer(),
name: String.t(),
opened: non_neg_integer(),
sent: non_neg_integer(),
type: String.t()
}
MailerLite subscriber object
Link to this type
unix_timestamp()
View Source
unix_timestamp()
View Source
unix_timestamp() :: non_neg_integer()
unix_timestamp() :: non_neg_integer()
UNIX timestamp integer
Link to this section Functions
Link to this function
delete(url) View Source
Link to this function
get(url) View Source
Link to this function
post(url, body) View Source
Link to this function