class OffsitePayments::Integrations::Pxpay::Return

Public Class Methods

new(query_string, options={}) click to toggle source
# File lib/offsite_payments/integrations/pxpay.rb, line 255
def initialize(query_string, options={})
  @notification = Notification.new(query_string, options)
end

Public Instance Methods

cancelled?() click to toggle source
# File lib/offsite_payments/integrations/pxpay.rb, line 263
def cancelled?
  @notification && @notification.cancelled?
end
message() click to toggle source
# File lib/offsite_payments/integrations/pxpay.rb, line 267
def message
  @notification.message
end
success?() click to toggle source
# File lib/offsite_payments/integrations/pxpay.rb, line 259
def success?
  @notification && @notification.complete?
end