Class: Goat::TxnCompleteUpdate

Inherits:
PageUpdate show all
Defined in:
lib/goat/common.rb

Instance Attribute Summary collapse

Attributes inherited from PageUpdate

#version

Instance Method Summary collapse

Constructor Details

#initialize(version, txn) ⇒ TxnCompleteUpdate

Returns a new instance of TxnCompleteUpdate.



63
64
65
66
# File 'lib/goat/common.rb', line 63

def initialize(version, txn)
  @version = version
  @txn = txn
end

Instance Attribute Details

#txnObject (readonly)

Returns the value of attribute txn.



61
62
63
# File 'lib/goat/common.rb', line 61

def txn
  @txn
end