module ActiveMerchant

This lives in compatibility until we remove the deprecation for implicitly requiring Rails

Constants

VERSION

Public Class Methods

deprecated(message, caller=Kernel.caller[1]) click to toggle source
# File lib/active_merchant.rb, line 57
def self.deprecated(message, caller=Kernel.caller[1])
  warning = caller + ": " + message
  if(respond_to?(:logger) && logger.present?)
    logger.warn(warning)
  else
    warn(warning)
  end
end