Method: Propono::Client#publish
- Defined in:
- lib/propono/components/client.rb
#publish(topic, message, options = {}) ⇒ Object
Publishes a new message into the Propono pub/sub network.
This requires a topic and a message. By default this pushes out AWS SNS.
52 53 54 55 |
# File 'lib/propono/components/client.rb', line 52 def publish(topic, , = {}) suffixed_topic = "#{topic}#{config.queue_suffix}" Publisher.publish(aws_client, config, suffixed_topic, , ) end |