Sha256: 7e77e231c73abc8bf008fc194a4e287e7de529a89e28cfe02936d0c880124482
Contents?: true
Size: 368 Bytes
Versions: 4
Compression:
Stored size: 368 Bytes
Contents
module RProxy class CallbackService def self.call(url, user, pass, value) return if url.nil? || url.empty? uri = URI(url) tls = uri.scheme == 'https' EventMachine.connect( uri.host, uri.port, RProxy::CallbackConnection, uri, user, pass, value, tls ) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
r_proxy-0.2.3 | lib/r_proxy/callback_service.rb |
r_proxy-0.2.2 | lib/r_proxy/callback_service.rb |
r_proxy-0.2.1 | lib/r_proxy/callback_service.rb |
r_proxy-0.2.0 | lib/r_proxy/callback_service.rb |