Class: Outboxable::PublishingManager
- Inherits:
-
Object
- Object
- Outboxable::PublishingManager
- Defined in:
- lib/outboxable/publishing_manager.rb
Class Method Summary collapse
Class Method Details
.publish(resource:) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/outboxable/publishing_manager.rb', line 3 def self.publish(resource:) case Outboxable.configuration. when :rabbitmq Outboxable::RabbitMq::Publisher.new(resource:).publish end end |