Class: Fog::Compute::Clodo::Image

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

Instance Method Summary collapse

Constructor Details

#initialize(new_attributes) ⇒ Image

Returns a new instance of Image.



18
19
20
21
# File 'lib/fog/clodo/models/compute/image.rb', line 18

def initialize(new_attributes)
  super(new_attributes)
  merge_attributes(new_attributes['_attr']) if new_attributes['_attr']
end

Instance Method Details

#ready?Boolean

Returns:

  • (Boolean)


23
24
25
# File 'lib/fog/clodo/models/compute/image.rb', line 23

def ready?
  status == 'ACTIVE'
end