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