class OffsitePayments::Integrations::Ipay88::Return

Public Class Methods

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

Public Instance Methods

cancelled?() click to toggle source
# File lib/offsite_payments/integrations/ipay88.rb, line 241
def cancelled?
  params["ErrDesc"] == CANCELLED_ERROR_DESCRIPTION
end
message() click to toggle source
# File lib/offsite_payments/integrations/ipay88.rb, line 245
def message
  params["ErrDesc"]
end
success?() click to toggle source
# File lib/offsite_payments/integrations/ipay88.rb, line 237
def success?
  params["Status"] == "1"
end