def request(method, params = {})
      http = Net::HTTP.new(Api::ADDRESS, (@https ? 443 : 80))
      http.use_ssl = @https
      http.verify_mode = OpenSSL::SSL::VERIFY_NONE
      request = Net::HTTP::Post.new(Api::ENDPOINT+method.to_s)
      request.basic_auth @username, @password
      request.set_form_data(params)
      http.start { http.request(request) }
    end
def request(method, params = {})
      http = Net::HTTP.new(Api::ADDRESS, (@https ? 443 : 80))
      http.use_ssl = @https
      http.verify_mode = OpenSSL::SSL::VERIFY_NONE
      request = Net::HTTP::Post.new(Api::ENDPOINT+method.to_s)
      request.basic_auth @username, @password
      request.set_form_data(params)
      http.start { http.request(request) }
    end
Actually heads out to the internet and performs the request
 @todo Perhaps put me in the Api class/module?