Sha256: b1aa7d3e429b09055af7e5f2c9d6910814153b75515520d67bf745f1ba350c0a

Contents?: true

Size: 1.05 KB

Versions: 8

Compression:

Stored size: 1.05 KB

Contents

class Journaled::Change
  include Journaled::Event

  attr_reader :table_name,
              :record_id,
              :database_operation,
              :logical_operation,
              :changes,
              :journaled_stream_name,
              :journaled_enqueue_opts,
              :actor

  journal_attributes :table_name,
                     :record_id,
                     :database_operation,
                     :logical_operation,
                     :changes,
                     :actor

  def initialize(table_name:,
                 record_id:,
                 database_operation:,
                 logical_operation:,
                 changes:,
                 journaled_stream_name:,
                 journaled_enqueue_opts:,
                 actor:)
    @table_name = table_name
    @record_id = record_id
    @database_operation = database_operation
    @logical_operation = logical_operation
    @changes = changes
    @journaled_stream_name = journaled_stream_name
    @journaled_enqueue_opts = journaled_enqueue_opts
    @actor = actor
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
journaled-5.3.1 app/models/journaled/change.rb
journaled-5.3.0 app/models/journaled/change.rb
journaled-5.2.0 app/models/journaled/change.rb
journaled-5.1.1 app/models/journaled/change.rb
journaled-5.1.0 app/models/journaled/change.rb
journaled-5.0.0 app/models/journaled/change.rb
journaled-4.3.0 app/models/journaled/change.rb
journaled-4.2.0 app/models/journaled/change.rb