Sha256: 81853f335e1cdca56ac81dc42ed51a5622c71ee82d5e9af01b263bfc4a9d95c3
Contents?: true
Size: 506 Bytes
Versions: 8
Compression:
Stored size: 506 Bytes
Contents
module SocketLabs module InjectionApi # Represents a http proxy. class Proxy # The name of the proxy hostname attr_accessor :host # The value of the proxy port attr_accessor :port def initialize ( host= nil, port= nil ) @host = host @port = port end # Returns the Proxy as a string. # @return [String] def to_s "#{@host}:#{@port}" end end end end
Version data entries
8 entries across 8 versions & 1 rubygems