Class: Immudb::LinearProof

Inherits:
Object
  • Object
show all
Defined in:
lib/immudb/linear_proof.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sourceTxID, targetTxID, terms) ⇒ LinearProof

Returns a new instance of LinearProof.



17
18
19
20
21
# File 'lib/immudb/linear_proof.rb', line 17

def initialize(sourceTxID, targetTxID, terms)
  @sourceTxID = sourceTxID
  @targetTxID = targetTxID
  @terms = terms
end

Instance Attribute Details

#sourceTxIDObject (readonly)

Returns the value of attribute sourceTxID.



15
16
17
# File 'lib/immudb/linear_proof.rb', line 15

def sourceTxID
  @sourceTxID
end

#targetTxIDObject (readonly)

Returns the value of attribute targetTxID.



15
16
17
# File 'lib/immudb/linear_proof.rb', line 15

def targetTxID
  @targetTxID
end

#termsObject (readonly)

Returns the value of attribute terms.



15
16
17
# File 'lib/immudb/linear_proof.rb', line 15

def terms
  @terms
end