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

Returns a new instance of Return.



179
180
181
182
# File 'lib/offsite_payments/integrations/universal.rb', line 179

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

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


184
185
186
# File 'lib/offsite_payments/integrations/universal.rb', line 184

def success?
  @notification.acknowledge
end