Class/Module Index [+]

Quicksearch

ActiveMerchant::Billing::Integrations::SagePayForm::Return

Public Class Methods

new(query_string, options) click to toggle source
# File lib/active_merchant/billing/integrations/sage_pay_form/return.rb, line 7
def initialize(query_string, options)
  begin
    @notification = Notification.new(query_string, options)
  rescue Notification::CryptError => e
    @message = e.message
  end
end

Public Instance Methods

cancelled?() click to toggle source
# File lib/active_merchant/billing/integrations/sage_pay_form/return.rb, line 19
def cancelled?
  @notification && @notification.cancelled?
end
message() click to toggle source
# File lib/active_merchant/billing/integrations/sage_pay_form/return.rb, line 23
def message
  @message || @notification.message
end
success?() click to toggle source
# File lib/active_merchant/billing/integrations/sage_pay_form/return.rb, line 15
def success?
  @notification && @notification.complete?
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.