class OffsitePayments::Integrations::DirecPay::Return

Public Class Methods

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

Public Instance Methods

message() click to toggle source
# File lib/offsite_payments/integrations/direc_pay.rb, line 299
def message
  notification.status
end
success?() click to toggle source
# File lib/offsite_payments/integrations/direc_pay.rb, line 295
def success?
  notification.complete?
end