class OffsitePayments::Integrations::RealexOffsite::Return

Public Class Methods

new(data, options) click to toggle source
Calls superclass method OffsitePayments::Return::new
# File lib/offsite_payments/integrations/realex_offsite.rb, line 296
def initialize(data, options)
  super
  @notification = Notification.new(data, options)
end

Public Instance Methods

cancelled?() click to toggle source

TODO: realex does not provide a separate cancelled endpoint

# File lib/offsite_payments/integrations/realex_offsite.rb, line 306
def cancelled?
  false
end
message() click to toggle source
# File lib/offsite_payments/integrations/realex_offsite.rb, line 310
def message
  notification.message
end
success?() click to toggle source
# File lib/offsite_payments/integrations/realex_offsite.rb, line 301
def success?
  notification.complete?
end