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:
16 17 18 |
# File 'lib/deimos/monkey_patches/phobos_producer.rb', line 16 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:
11 12 13 |
# File 'lib/deimos/monkey_patches/phobos_producer.rb', line 11 def publish(topic, payload, key=nil, partition_key=nil) class_producer.publish(topic, payload, key, partition_key) end |