Sha256: ed43160d978638c573cdb45105dd84ecf22084dc6a2f153c94e6c871570ead52
Contents?: true
Size: 638 Bytes
Versions: 1
Compression:
Stored size: 638 Bytes
Contents
require 'socket' require 'openssl' require File.join(File.dirname(__FILE__), 'https', 'tcp') module Le module Host class HTTPS include Le::Host::HelperMethods attr_reader :deliverer def initialize(key, location) @deliverer = Le::Host::HTTPS::TCPSOCKET.new(key, location) end def write(message) # In the Heroku environment, this puts command will write the message to standard Heroku logs also puts message # Deliver the message to logentries via TCP @deliverer.deliver(message) end def close nil end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
le-1.4 | ./lib1.2backup/le/host/https.rb |