class Ruboty::Niftycloud::Actions::ComputingImageList

Public Instance Methods

call() click to toggle source
# File lib/ruboty/niftycloud/actions/computing_image_list.rb, line 5
def call
  computing.images.each do |image|
    # TODO: OS name
    message.reply("#{image['name']} #{image['imageId']} #{image['architecture']} #{image['imageState']} #{image['imageOwnerAlias']}(#{image['imageOwnerId']}) #{image['description']} #{image['placement'] ? image['placement']['availabilityZone'] : ''}")
  end
end