plug_pubsub v0.1.0 PlugPubsub
Documentation for PlugPubsub
.
Link to this section Summary
Functions
Publish message on AWS SNS on the configured topic.
Link to this section Functions
Link to this function
publish_message(title, message)
Publish message on AWS SNS on the configured topic.
For more detail about the response, check https://hexdocs.pm/ex_aws_sns/ExAws.SNS.html#publish/2
Examples
iex> PlugPubSub.publish_message(title, message)
{:ok, request_details}