Sha256: 6c971100090e386a60ff82b5f66013d316d42e4d35ad38e1480c1aa7e363a665
Contents?: true
Size: 548 Bytes
Versions: 37
Compression:
Stored size: 548 Bytes
Contents
module Fog module Storage class InternetArchive class Real # Sync clock against S3 to avoid skew errors # def sync_clock response = begin get_service rescue Excon::Errors::HTTPStatusError => 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 # InternetArchive end # Fog
Version data entries
37 entries across 35 versions & 6 rubygems