Sha256: 7e3ddfe45b73e7dcb9700c4e076e23f9d275211a67ae22f79150eede73d0efac
Contents?: true
Size: 391 Bytes
Versions: 4
Compression:
Stored size: 391 Bytes
Contents
__DIR__ = File.dirname(__FILE__) $LOAD_PATH.unshift __DIR__ unless $LOAD_PATH.include?(__DIR__) || $LOAD_PATH.include?(File.expand_path(__DIR__)) require 'openssl' require 'socket' require 'uri' require 'excon/connection' require 'excon/errors' require 'excon/response' module Excon CHUNK_SIZE = 1048576 # 1 megabyte def self.new(url) Excon::Connection.new(url) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
excon-0.0.18 | lib/excon.rb |
excon-0.0.17 | lib/excon.rb |
excon-0.0.16 | lib/excon.rb |
excon-0.0.15 | lib/excon.rb |