Flowdock
start(address, port = nil, p_addr = nil, p_port = nil, p_user = nil, p_pass = nil) public

creates a new Net::HTTP object and opens its TCP connection and HTTP session. If the optional block is given, the newly created Net::HTTP object is passed to it and closed when the block finishes. In this case, the return value of this method is the return value of the block. If no block is given, the return value of this method is the newly created Net::HTTP object itself, and the caller is responsible for closing it upon completion.

Show source
Register or log in to add new notes.