1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/core/timeout.rb
2011-07-12 11:04:49 -05:00

11 lines
205 B
Ruby

module Fog
@timeout = 600
def self.timeout
@timeout
end
def self.timeout=(timeout)
raise ArgumentError, "timeout must be non-negative" unless timeout >= 0
@timeout = timeout
end
end