Sha256: f0133ec9d039e4c52f07c4837d9bb9037452be688cfbff43e86258bbd8bd9cdc
Contents?: true
Size: 496 Bytes
Versions: 20
Compression:
Stored size: 496 Bytes
Contents
module Fog module AWS class Storage 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
20 entries across 20 versions & 2 rubygems