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?, #parse

Constructor Details

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

Returns a new instance of Return.



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

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

Instance Method Details

#messageObject



192
193
194
# File 'lib/offsite_payments/integrations/universal.rb', line 192

def message
  @notification.message
end

#success?Boolean

Returns:

  • (Boolean)


188
189
190
# File 'lib/offsite_payments/integrations/universal.rb', line 188

def success?
  @notification.acknowledge
end