class Fog::Compute::StormOnDemand::Images
Public Instance Methods
all(options={})
click to toggle source
# File lib/fog/storm_on_demand/models/compute/images.rb, line 22 def all(options={}) data = service.list_images(options).body['items'] load(data) end
create(options={})
click to toggle source
# File lib/fog/storm_on_demand/models/compute/images.rb, line 12 def create(options={}) service.create_image(options) true end
get(image_id)
click to toggle source
# File lib/fog/storm_on_demand/models/compute/images.rb, line 17 def get(image_id) img = service.get_image_details(:id => image_id).body new(img) end