Exception: FlexCommerce::PaypalExpress::Exception::Transaction
- Inherits:
-
StandardError
- Object
- StandardError
- FlexCommerce::PaypalExpress::Exception::Transaction
- Defined in:
- lib/paypal_express/exception/transaction.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#gateway_transaction_id ⇒ Object
Returns the value of attribute gateway_transaction_id.
-
#response ⇒ Object
Returns the value of attribute response.
-
#transaction_id ⇒ Object
Returns the value of attribute transaction_id.
Instance Method Summary collapse
-
#initialize(message, options = {}) ⇒ Transaction
constructor
A new instance of Transaction.
Constructor Details
#initialize(message, options = {}) ⇒ Transaction
Returns a new instance of Transaction.
6 7 8 9 10 11 |
# File 'lib/paypal_express/exception/transaction.rb', line 6 def initialize(, = {}) .each_pair do |attr, value| try("#{attr}=".to_sym, value) end super() end |
Instance Attribute Details
#gateway_transaction_id ⇒ Object
Returns the value of attribute gateway_transaction_id.
5 6 7 |
# File 'lib/paypal_express/exception/transaction.rb', line 5 def gateway_transaction_id @gateway_transaction_id end |
#response ⇒ Object
Returns the value of attribute response.
5 6 7 |
# File 'lib/paypal_express/exception/transaction.rb', line 5 def response @response end |
#transaction_id ⇒ Object
Returns the value of attribute transaction_id.
5 6 7 |
# File 'lib/paypal_express/exception/transaction.rb', line 5 def transaction_id @transaction_id end |