# File lib/fog/ibm/models/compute/image.rb, line 38 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 58 def clone(name, description) service.clone_image(id, name, description).body['ImageID'] end
# File lib/fog/ibm/models/compute/image.rb, line 62 def destroy requires :id service.delete_image(id).body['success'] end
# File lib/fog/ibm/models/compute/image.rb, line 54 def ready? state == 'Available' end
Generated with the Darkfish Rdoc Generator 2.