Sha256: fca34d6de09fd28d8628661f5346ae29e60d064d0bbe1ce8c4494355a49ee851
Contents?: true
Size: 431 Bytes
Versions: 18
Compression:
Stored size: 431 Bytes
Contents
module Logtail module LogDevices class HTTP # Represents an attempt to deliver a request. Requests can be retried, hence # why we keep track of the number of attempts. class RequestAttempt attr_reader :attempts, :request def initialize(req) @attempts = 0 @request = req end def attempted! @attempts += 1 end end end end end
Version data entries
18 entries across 18 versions & 2 rubygems