Class: OffsitePayments::Integrations::Universal::Return

Inherits:
Return
  • Object
show all
Defined in:
lib/offsite_payments/integrations/universal.rb

Instance Attribute Summary

Attributes inherited from Return

#notification, #params

Instance Method Summary collapse

Methods inherited from Return

#cancelled?, #message, #parse

Constructor Details

#initialize(query_string, options = {}) ⇒ Return



170
171
172
173
# File 'lib/offsite_payments/integrations/universal.rb', line 170

def initialize(query_string, options = {})
  super
  @notification = Notification.new(query_string, options)
end

Instance Method Details

#success?Boolean



175
176
177
# File 'lib/offsite_payments/integrations/universal.rb', line 175

def success?
  @notification.acknowledge
end