class Sibit::Http

This HTTP client will be used by default.

Public Instance Methods

client(uri) click to toggle source
# File lib/sibit/http.rb, line 33
def client(uri)
  http = Net::HTTP.new(uri.host, uri.port)
  http.use_ssl = true
  http.read_timeout = 240
  http
end