Sha256: a57e25387741086d97a4f9b9c4e72bd59775735466128ce03454e847de6c9698
Contents?: true
Size: 445 Bytes
Versions: 5
Compression:
Stored size: 445 Bytes
Contents
module Ruboty module Niftycloud module Actions class ComputingVolumeList < Base def call computing.volumes.each do |volume| message.reply("#{volume['volumeId']} #{volume['diskType']} #{volume['size']} #{volume['status']} #{volume['attachmentSet'] ? [volume['attachmentSet']['item']].flatten.first['instanceId'] : ''} #{volume['availabilityZone']}") end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems