Class: Payment::Gateways::Paypal::ReceiptResult
- Inherits:
-
Data
- Object
- Data
- Payment::Gateways::Paypal::ReceiptResult
- Defined in:
- app/services/payment/gateways/paypal.rb
Instance Attribute Summary collapse
-
#receipt ⇒ Object
readonly
Returns the value of attribute receipt.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(success: nil, receipt: nil) ⇒ ReceiptResult
constructor
A new instance of ReceiptResult.
Constructor Details
#initialize(success: nil, receipt: nil) ⇒ ReceiptResult
Returns a new instance of ReceiptResult.
11 |
# File 'app/services/payment/gateways/paypal.rb', line 11 def initialize(success: nil, receipt: nil) = super |
Instance Attribute Details
#receipt ⇒ Object (readonly)
Returns the value of attribute receipt
10 11 12 |
# File 'app/services/payment/gateways/paypal.rb', line 10 def receipt @receipt end |
#success ⇒ Object (readonly)
Returns the value of attribute success
10 11 12 |
# File 'app/services/payment/gateways/paypal.rb', line 10 def success @success end |