def get(to, params = {})
      @format = params.fetch(:format, :json)
      @path = CentrumFaktur::Utils.path_with_params(to, params)
      request = Net::HTTP::Get.new(@path, headers)
      request.basic_auth(client.login, client.password)
      @response = http.request(request)
      self
    end
def get(to, params = {})
      @format = params.fetch(:format, :json)
      @path = CentrumFaktur::Utils.path_with_params(to, params)
      request = Net::HTTP::Get.new(@path, headers)
      request.basic_auth(client.login, client.password)
      @response = http.request(request)
      self
    end
TODO: unify