class Errordite::Client::Connection

Public Class Methods

new(server, port) click to toggle source
# File lib/errordite/client.rb, line 34
def initialize(server, port)
  @http = Net::HTTP.new server, port
  @http.use_ssl = true
  @http.verify_mode = OpenSSL::SSL::VERIFY_PEER
end

Public Instance Methods

post(*args) click to toggle source
# File lib/errordite/client.rb, line 40
def post(*args)
  @http.post(*args)
end