Sha256: 609dd72d2ac6d4a6fceaa813ed67ff3087f30a95d9ca26aa79664208be4be221
Contents?: true
Size: 381 Bytes
Versions: 6
Compression:
Stored size: 381 Bytes
Contents
module AmazonAuth module CommonExtension def log(message) return unless (@options[:debug] || @options[:verbose]) puts "[#{Time.current.strftime('%Y-%m-%d %H:%M:%S')}] #{message}" + (@options[:debug] && @session ? " -- #{session.current_url}" : '') end def debug(message) return unless @options[:debug] log(message) end end end
Version data entries
6 entries across 6 versions & 1 rubygems