Exception: PiNetwork::Errors::TxidAlreadyLinkedError
- Inherits:
-
StandardError
- Object
- StandardError
- PiNetwork::Errors::TxidAlreadyLinkedError
- Defined in:
- lib/errors.rb
Instance Attribute Summary collapse
-
#payment_id ⇒ Object
readonly
Returns the value of attribute payment_id.
-
#txid ⇒ Object
readonly
Returns the value of attribute txid.
Instance Method Summary collapse
-
#initialize(message, payment_id, txid) ⇒ TxidAlreadyLinkedError
constructor
A new instance of TxidAlreadyLinkedError.
Constructor Details
#initialize(message, payment_id, txid) ⇒ TxidAlreadyLinkedError
Returns a new instance of TxidAlreadyLinkedError.
27 28 29 30 31 |
# File 'lib/errors.rb', line 27 def initialize(, payment_id, txid) super() @payment_id = payment_id @txid = txid end |
Instance Attribute Details
#payment_id ⇒ Object (readonly)
Returns the value of attribute payment_id.
24 25 26 |
# File 'lib/errors.rb', line 24 def payment_id @payment_id end |
#txid ⇒ Object (readonly)
Returns the value of attribute txid.
25 26 27 |
# File 'lib/errors.rb', line 25 def txid @txid end |