Sha256: eba68bc3756ad9697de5671e992ce760f2a319d8b3cc4ef604c084aaa5fbf18d

Contents?: true

Size: 295 Bytes

Versions: 3

Compression:

Stored size: 295 Bytes

Contents

module ESA
  # Records the last known state of the given Accountable object
  #
  # @author Lenno Nagel
  class State < ActiveRecord::Base
    attr_accessible :accountable, :processed_at, :unprocessed
    attr_readonly   :accountable

    belongs_to :accountable, :polymorphic => true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
event_sourced_accounting-0.2.6 app/models/esa/state.rb
event_sourced_accounting-0.2.4 app/models/esa/state.rb
event_sourced_accounting-0.2.3 app/models/esa/state.rb