Sha256: 517a3aeca1b248feb04de998edf073a388f1d84338c40a461cb97352a6b9c086

Contents?: true

Size: 331 Bytes

Versions: 5

Compression:

Stored size: 331 Bytes

Contents

# frozen_string_literal: true

class RailsTransactionalOutbox
  class OutboxEntriesProcessor
    attr_reader :config
    private     :config

    def initialize(config: RailsTransactionalOutbox.configuration)
      @config = config
    end

    def call(&block)
      config.outbox_entries_processor.call(&block)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rails-transactional-outbox-0.4.0 lib/rails_transactional_outbox/outbox_entries_processor.rb
rails-transactional-outbox-0.3.1 lib/rails_transactional_outbox/outbox_entries_processor.rb
rails-transactional-outbox-0.3.0 lib/rails_transactional_outbox/outbox_entries_processor.rb
rails-transactional-outbox-0.2.1 lib/rails_transactional_outbox/outbox_entries_processor.rb
rails-transactional-outbox-0.2.0 lib/rails_transactional_outbox/outbox_entries_processor.rb