class Fog::Compute::Softlayer::Images
Public Instance Methods
all()
click to toggle source
Returns an array of all public images.
Fog::Softlayer.images.all
# File lib/fog/softlayer/models/compute/images.rb, line 21 def all load(service.request(:virtual_guest_block_device_template_group, :get_public_images).body) self end
get(uuid)
click to toggle source
Used to retrieve an image
# File lib/fog/softlayer/models/compute/images.rb, line 33 def get(uuid) self.class.new(:service => service).all.detect {|image| image.id == uuid} end
private()
click to toggle source
Returns an array of all private images for current account.
# File lib/fog/softlayer/models/compute/images.rb, line 27 def private load(service.request(:account, :getPrivateBlockDeviceTemplateGroups).body) self end