Sha256: 82c7a6603d3afde64954ef54572457351089c063e0804599da73395d7638e1ae

Contents?: true

Size: 322 Bytes

Versions: 5

Compression:

Stored size: 322 Bytes

Contents

module Ruboty
  module Niftycloud
    module Actions
      class ComputingImageShow < Base
        def call
          image = computing.images.find {|image| image['imageId'] == message[:image_id] }
          image.each do |k, v|
            message.reply "#{k}: #{v}"
          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_image_show.rb
ruboty-niftycloud-0.0.4 lib/ruboty/niftycloud/actions/computing_image_show.rb
ruboty-niftycloud-0.0.3 lib/ruboty/niftycloud/actions/computing_image_show.rb
ruboty-niftycloud-0.0.2 lib/ruboty/niftycloud/actions/computing_image_show.rb
ruboty-niftycloud-0.0.1 lib/ruboty/niftycloud/actions/computing_image_show.rb