Sha256: b5cd271baace1147c49055d93533b2c033a1639c9076207bcdfb20b598b69327
Contents?: true
Size: 496 Bytes
Versions: 27
Compression:
Stored size: 496 Bytes
Contents
module Fog module Storage class AWS class Real # Sync clock against S3 to avoid skew errors # def sync_clock response = begin get_service rescue => error error.response end Fog::Time.now = Time.parse(response.headers['Date']) end end # Real class Mock # :nodoc:all def sync_clock true end end # Mock end # Storage end # AWS end # Fog
Version data entries
27 entries across 27 versions & 6 rubygems