Class: Fog::Compute::Google::Zone

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/compute/google/models/zone.rb

Constant Summary collapse

UP_STATE =
"UP".freeze
DOWN_STATE =
"DOWN".freeze

Instance Method Summary collapse

Instance Method Details

#up?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/fog/compute/google/models/zone.rb', line 19

def up?
  status == UP_STATE
end