./lib/le.rb in le-2.1.9 vs ./lib/le.rb in le-2.2
- old
+ new
@@ -8,12 +8,13 @@
self.checkParams(token)
opt_local = options[:local] || false
opt_debug = options[:debug] || false
+ opt_ssl = options[:ssl] || false
opt_log_level = options[:log_level] || Logger::DEBUG
- host = Le::Host.new(token, opt_local, opt_debug)
+ host = Le::Host.new(token, opt_local, opt_debug, opt_ssl)
logger = Logger.new(host)
logger.level = opt_log_level
if host.respond_to?(:formatter)