Class: ActiveMerchant::Billing::Integrations::TwoCheckout::Return
- Defined in:
- lib/active_merchant/billing/integrations/two_checkout/return.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
46 47 48 49 |
# File 'lib/active_merchant/billing/integrations/two_checkout/return.rb', line 46 def initialize(query_string, = {}) super @notification = Notification.new(query_string, ) end |
Instance Method Details
#success? ⇒ Boolean
51 52 53 |
# File 'lib/active_merchant/billing/integrations/two_checkout/return.rb', line 51 def success? @notification.status != 'Failed' end |