ActiveMerchant::Billing::Integrations::Return
# 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
# File lib/active_merchant/billing/integrations/sage_pay_form/return.rb, line 19 def cancelled? @notification && @notification.cancelled? end
# File lib/active_merchant/billing/integrations/sage_pay_form/return.rb, line 23 def message @message || @notification.message end
# 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.