Class: SecureTrading::Objects::Transaction
- Inherits:
-
DataObject
- Object
- DataObject
- SecureTrading::Objects::Transaction
- Defined in:
- lib/secure_trading/objects/transaction.rb
Instance Attribute Summary collapse
-
#reference ⇒ Object
Returns the value of attribute reference.
-
#verifier ⇒ Object
Returns the value of attribute verifier.
Instance Method Summary collapse
Methods inherited from DataObject
Constructor Details
This class inherits a constructor from SecureTrading::DataObject
Instance Attribute Details
#reference ⇒ Object
Returns the value of attribute reference.
5 6 7 |
# File 'lib/secure_trading/objects/transaction.rb', line 5 def reference @reference end |
#verifier ⇒ Object
Returns the value of attribute verifier.
5 6 7 |
# File 'lib/secure_trading/objects/transaction.rb', line 5 def verifier @verifier end |
Instance Method Details
#to_hash ⇒ Object
7 8 9 10 11 12 |
# File 'lib/secure_trading/objects/transaction.rb', line 7 def to_hash { 'TransactionVerifier' => self.verifier, 'ParentTransactionReference' => self.reference } end |