lib/active_merchant/billing/gateways/moneris.rb
# Tests for a successful response from Moneris' servers
Tests for a successful response from Moneris' servers
Tests for a successful response from Moneris ' servers
def successful?(response)
        response[:response_code] && 
        response[:complete] && 
        (0..49).include?(response[:response_code].to_i)
      end
def successful? ( response ) response [ :response_code ] && response [ :complete ] && ( 0 .. 49 ) . include? ( response [ :response_code ] . to_i ) end
Tests for a successful response from Moneris' servers
Tests for a successful response from Moneris ' servers
response
<not_specific>