Sha256: 42f9ff095f775d7dcdb118aef5ccb1a4da8d99898f0de8967a8381c66b541403
Contents?: true
Size: 430 Bytes
Versions: 19
Compression:
Stored size: 430 Bytes
Contents
module Timber 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
19 entries across 19 versions & 1 rubygems