Sha256: 3c3974961006363941aec67d4582fbf6c61a7fd6d9a2ace61950fcb900ba5d2b
Contents?: true
Size: 452 Bytes
Versions: 5
Compression:
Stored size: 452 Bytes
Contents
module Packagecloud class Connection attr_reader :scheme, :host, :port, :connect_timeout, :read_timeout, :write_timeout def initialize(scheme="https", host="packagecloud.io", port="443", options={}) @scheme = scheme @host = host @port = port @connect_timeout = options[:connect_timeout] || 60 @read_timeout = options[:read_timeout] || 60 @write_timeout = options[:write_timeout] || 180 end end end
Version data entries
5 entries across 5 versions & 2 rubygems