Sha256: 592b815cd2ff89f2890de6416e24607bd033d9bb9595416d13a6caa20fe33c91

Contents?: true

Size: 785 Bytes

Versions: 1

Compression:

Stored size: 785 Bytes

Contents

class Journaled::Change
  include Journaled::Event

  attr_reader :table_name,
    :record_id,
    :database_operation,
    :logical_operation,
    :changes,
    :journaled_app_name,
    :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_app_name:,
                 actor:)
    @table_name = table_name
    @record_id = record_id
    @database_operation = database_operation
    @logical_operation = logical_operation
    @changes = changes
    @journaled_app_name = journaled_app_name
    @actor = actor
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
journaled-2.2.0 app/models/journaled/change.rb