Class: Fog::Compute::Clodo::Image
- Inherits:
-
Model
- Object
- Model
- Fog::Compute::Clodo::Image
- Defined in:
- lib/fog/clodo/models/compute/image.rb
Instance Method Summary collapse
-
#initialize(new_attributes) ⇒ Image
constructor
A new instance of Image.
- #ready? ⇒ Boolean
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
21 22 23 |
# File 'lib/fog/clodo/models/compute/image.rb', line 21 def ready? status == 'ACTIVE' end |