Sha256: d544c3cd78b981c5b0025860ebd6074408c3ac25f802b79ea1797c76e4d28b08

Contents?: true

Size: 239 Bytes

Versions: 15

Compression:

Stored size: 239 Bytes

Contents

module Outboxable
  class PublishingManager
    def self.publish(resource:)
      case Outboxable.configuration.message_broker
      when :rabbitmq
        Outboxable::RabbitMq::Publisher.new(resource:).publish
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
outboxable-1.0.6 lib/outboxable/publishing_manager.rb
outboxable-1.0.5 lib/outboxable/publishing_manager.rb
outboxable-1.0.4 lib/outboxable/publishing_manager.rb
outboxable-1.0.3 lib/outboxable/publishing_manager.rb
outboxable-1.0.2 lib/outboxable/publishing_manager.rb
outboxable-1.0.0 lib/outboxable/publishing_manager.rb
outboxable-0.1.8 lib/outboxable/publishing_manager.rb
outboxable-0.1.7 lib/outboxable/publishing_manager.rb
outboxable-0.1.6 lib/outboxable/publishing_manager.rb
outboxable-0.1.5 lib/outboxable/publishing_manager.rb
outboxable-0.1.4 lib/outboxable/publishing_manager.rb
outboxable-0.1.3 lib/outboxable/publishing_manager.rb
outboxable-0.1.2 lib/outboxable/publishing_manager.rb
outboxable-0.1.1 lib/outboxable/publishing_manager.rb
outboxable-0.1.0 lib/outboxable/publishing_manager.rb