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


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

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

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)

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

def success?
  @notification.acknowledge
end