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

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

Overview

Represents a Region resource

Constant Summary collapse

DOWN_STATE =
'DOWN'
UP_STATE =
'UP'

Instance Method Summary collapse

Instance Method Details

#up?Boolean

Returns:

  • (Boolean)


26
27
28
# File 'lib/fog/google/models/compute/region.rb', line 26

def up?
  self.status == UP_STATE
end