mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
14 lines
235 B
Ruby
14 lines
235 B
Ruby
|
module Fog
|
||
|
|
||
|
@timeout = 600
|
||
|
def self.timeout
|
||
|
@timeout
|
||
|
end
|
||
|
|
||
|
def self.timeout=(new_timeout)
|
||
|
raise ArgumentError, "timeout must be non-negative" unless new_timeout >= 0
|
||
|
@timeout = new_timeout
|
||
|
end
|
||
|
|
||
|
end
|