Sha256: c3e1e290c17f7390e38a662aa0aeeea411363e17a207d802dc9b22f8255c9a88

Contents?: true

Size: 472 Bytes

Versions: 5

Compression:

Stored size: 472 Bytes

Contents

module Ruboty
  module Niftycloud
    module Actions
      class ComputingAvailabilityZoneList < Base
        def call
          computing.availability_zones.each do |availability_zone|
            # TODO: {"zoneName"=>"east-11", "zoneState"=>"available", "regionName"=>"east-1", "messageSet"=>nil, "securityGroupSupported"=>"false", "isDefault"=>"false"}
            message.reply(availability_zone.values.join(' '))
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruboty-niftycloud-0.0.5 lib/ruboty/niftycloud/actions/computing_availability_zone_list.rb
ruboty-niftycloud-0.0.4 lib/ruboty/niftycloud/actions/computing_availability_zone_list.rb
ruboty-niftycloud-0.0.3 lib/ruboty/niftycloud/actions/computing_availability_zone_list.rb
ruboty-niftycloud-0.0.2 lib/ruboty/niftycloud/actions/computing_availability_zone_list.rb
ruboty-niftycloud-0.0.1 lib/ruboty/niftycloud/actions/computing_availability_zone_list.rb