Sha256: 8aefbab576097f767be75ae6355e82ef909ced074ed8306d2ffdcddb71024aeb

Contents?: true

Size: 826 Bytes

Versions: 10

Compression:

Stored size: 826 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:, # rubocop:disable Metrics/ParameterLists
                 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

10 entries across 10 versions & 1 rubygems

Version Path
journaled-2.1.1 app/models/journaled/change.rb
journaled-2.1.0 app/models/journaled/change.rb
journaled-2.0.3 app/models/journaled/change.rb
journaled-2.0.2 app/models/journaled/change.rb
journaled-2.0.1 app/models/journaled/change.rb
journaled-2.0.0 app/models/journaled/change.rb
journaled-2.0.0.rc1 app/models/journaled/change.rb
journaled-2.0.0.alpha1 app/models/journaled/change.rb
journaled-1.0.1 app/models/journaled/change.rb
journaled-1.0.0 app/models/journaled/change.rb