Method: Fog.timeout=

Defined in:
lib/fog/core/wait_for_defaults.rb

.timeout=(timeout) ⇒ Object

Raises:

  • (ArgumentError)


17
18
19
20
# File 'lib/fog/core/wait_for_defaults.rb', line 17

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