Sha256: c941807a5d3bfb00892e5dc368fe1c4fcb0aa712c556f14b8846972f8bfe05f7
Contents?: true
Size: 393 Bytes
Versions: 13
Compression:
Stored size: 393 Bytes
Contents
require 'securerandom' module ActiveMerchant #:nodoc: module Utils #:nodoc: def generate_unique_id SecureRandom.hex(16) end module_function :generate_unique_id def deprecated(message) warning = Kernel.caller[1] + message if respond_to?(:logger) && logger.present? logger.warn(warning) else warn(warning) end end end end
Version data entries
13 entries across 13 versions & 3 rubygems