Sha256: 529a48a783f976c4f6fbe670155d8dd6a0343ced1c3cf72df8d9b6676d4e9add

Contents?: true

Size: 381 Bytes

Versions: 5

Compression:

Stored size: 381 Bytes

Contents

module Ruboty
  module Niftycloud
    module Actions
      class ComputingAddressList < Base
        def call
          computing.addresses.each do |address|
            # TODO: instance
            message.reply("#{address['publicIp']} #{address['privateIpAddress']} #{address['description']} #{address['availabilityZone']}")
          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_address_list.rb
ruboty-niftycloud-0.0.4 lib/ruboty/niftycloud/actions/computing_address_list.rb
ruboty-niftycloud-0.0.3 lib/ruboty/niftycloud/actions/computing_address_list.rb
ruboty-niftycloud-0.0.2 lib/ruboty/niftycloud/actions/computing_address_list.rb
ruboty-niftycloud-0.0.1 lib/ruboty/niftycloud/actions/computing_address_list.rb