lib/active_merchant/billing/gateways/moneris.rb
# Splits an +authorization+ param and retrives the order id and 
# transaction number in that order.
Splits an +authorization+ param and retrives the order id and
transaction number in that order.
Splits an + authorization + param and retrives the order id and transaction number in that order .
def split_authorization(authorization)
        if authorization.nil? || authorization.empty? || authorization !~ /;/
          raise ArgumentError, 'You must include a valid authorization code (e.g. "1234;567")' 
        else
          authorization.split(';')
        end
      end
def split_authorization ( authorization ) if authorization . nil? || authorization . empty? || authorization !~ / ; / raise ArgumentError , 'You must include a valid authorization code (e.g. "1234;567")' else authorization . split ( ';' ) end end
Splits an +authorization+ param and retrives the order id and
transaction number in that order.
Splits an + authorization + param and retrives the order id and transaction number in that order .
authorization
<not_specific>