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.



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

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

Instance Method Details

#ready?Boolean

Returns:

  • (Boolean)


21
22
23
# File 'lib/fog/clodo/models/compute/image.rb', line 21

def ready?
  status == 'ACTIVE'
end