# File lib/fog/ibm/models/compute/image.rb, line 37 def initialize(new_attributes = {}) super(new_attributes) attributes[:supported_instance_types] = Fog::Compute::IBM::InstanceTypes.new.load(attributes[:supported_instance_types]) if attributes[:supported_instance_types] end
# File lib/fog/ibm/models/compute/image.rb, line 57 def clone(name, description) service.clone_image(id, name, description).body['ImageID'] end
# File lib/fog/ibm/models/compute/image.rb, line 61 def destroy requires :id service.delete_image(id).body['success'] end
# File lib/fog/ibm/models/compute/image.rb, line 53 def ready? state == 'Available' end
Generated with the Darkfish Rdoc Generator 2.