Class: Fog::Compute::Google::Region

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

Overview

Represents a Region resource

Constant Summary collapse

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

Instance Method Summary collapse

Instance Method Details

#up?Boolean

Returns:

  • (Boolean)


24
25
26
# File 'lib/fog/compute/google/models/region.rb', line 24

def up?
  status == UP_STATE
end