Class: Ruboty::Niftycloud::Actions::ComputingAvailabilityZoneList
- Defined in:
- lib/ruboty/niftycloud/actions/computing_availability_zone_list.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#accounts, #computing, #current_account, #current_region, #initialize, #rdb
Constructor Details
This class inherits a constructor from Ruboty::Niftycloud::Actions::Base
Instance Method Details
#call ⇒ Object
5 6 7 8 9 10 |
# File 'lib/ruboty/niftycloud/actions/computing_availability_zone_list.rb', line 5 def call computing.availability_zones.each do |availability_zone| # TODO: {"zoneName"=>"east-11", "zoneState"=>"available", "regionName"=>"east-1", "messageSet"=>nil, "securityGroupSupported"=>"false", "isDefault"=>"false"} .reply(availability_zone.values.join(' ')) end end |