Class: OffsitePayments::Integrations::TwoCheckout::Return
- Defined in:
- lib/offsite_payments/integrations/two_checkout.rb
Instance Attribute Summary
Attributes inherited from Return
Instance Method Summary collapse
-
#initialize(query_string, options = {}) ⇒ Return
constructor
Third Party Cart Only cart_order_id - The order ID you had assigned to the order.
- #success? ⇒ Boolean
Methods inherited from Return
Constructor Details
#initialize(query_string, options = {}) ⇒ Return
Third Party Cart Only cart_order_id - The order ID you had assigned to the order
318 319 320 321 |
# File 'lib/offsite_payments/integrations/two_checkout.rb', line 318 def initialize(query_string, = {}) super @notification = Notification.new(query_string, ) end |
Instance Method Details
#success? ⇒ Boolean
323 324 325 |
# File 'lib/offsite_payments/integrations/two_checkout.rb', line 323 def success? @notification.status != 'Failed' end |