Method: Fog::Compute::IBM::Image#save

Defined in:
lib/fog/ibm/models/compute/image.rb

#saveObject



42
43
44
45
46
47
# File 'lib/fog/ibm/models/compute/image.rb', line 42

def save
  requires :id, :volume_id
  data = service.create_image(id, volume_id)
  merge_attributes(data.body)
  data.body['success']
end