Class: Phobos::Producer::PublicAPI
- Inherits:
-
Object
- Object
- Phobos::Producer::PublicAPI
- Defined in:
- lib/deimos/monkey_patches/phobos_producer.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#async_publish(topic, payload, key = nil, partition_key = nil) ⇒ Object
:nodoc:.
-
#publish(topic, payload, key = nil, partition_key = nil) ⇒ Object
:nodoc:.
Instance Method Details
#async_publish(topic, payload, key = nil, partition_key = nil) ⇒ Object
:nodoc:
15 16 17 |
# File 'lib/deimos/monkey_patches/phobos_producer.rb', line 15 def async_publish(topic, payload, key=nil, partition_key=nil) class_producer.async_publish(topic, payload, key, partition_key) end |
#publish(topic, payload, key = nil, partition_key = nil) ⇒ Object
:nodoc:
10 11 12 |
# File 'lib/deimos/monkey_patches/phobos_producer.rb', line 10 def publish(topic, payload, key=nil, partition_key=nil) class_producer.publish(topic, payload, key, partition_key) end |