Sha256: 21515c2b37958305f829227541cfe8a1cef8a533586e5952e82fe4c11058cb08
Contents?: true
Size: 744 Bytes
Versions: 81
Compression:
Stored size: 744 Bytes
Contents
module ActiveMerchant #:nodoc: module Billing #:nodoc: module Integrations #:nodoc: module SagePayForm class Return < ActiveMerchant::Billing::Integrations::Return def initialize(query_string, options) begin @notification = Notification.new(query_string, options) rescue Notification::CryptError => e @message = e.message end end def success? @notification && @notification.complete? end def cancelled? @notification && @notification.cancelled? end def message @message || @notification.message end end end end end end
Version data entries
81 entries across 81 versions & 11 rubygems