Class: Immudb::LinearProof
- Inherits:
-
Object
- Object
- Immudb::LinearProof
- Defined in:
- lib/immudb/linear_proof.rb
Instance Attribute Summary collapse
-
#sourceTxID ⇒ Object
readonly
Returns the value of attribute sourceTxID.
-
#targetTxID ⇒ Object
readonly
Returns the value of attribute targetTxID.
-
#terms ⇒ Object
readonly
Returns the value of attribute terms.
Instance Method Summary collapse
-
#initialize(sourceTxID, targetTxID, terms) ⇒ LinearProof
constructor
A new instance of LinearProof.
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
#sourceTxID ⇒ Object (readonly)
Returns the value of attribute sourceTxID.
15 16 17 |
# File 'lib/immudb/linear_proof.rb', line 15 def sourceTxID @sourceTxID end |
#targetTxID ⇒ Object (readonly)
Returns the value of attribute targetTxID.
15 16 17 |
# File 'lib/immudb/linear_proof.rb', line 15 def targetTxID @targetTxID end |
#terms ⇒ Object (readonly)
Returns the value of attribute terms.
15 16 17 |
# File 'lib/immudb/linear_proof.rb', line 15 def terms @terms end |