Sha256: 015b721b6414d127d633e7838af14d2113463827b2f0bb91f53260c818ceacf1

Contents?: true

Size: 364 Bytes

Versions: 5

Compression:

Stored size: 364 Bytes

Contents

module Ruboty
  module Niftycloud
    module Actions
      class RdbDbInstanceShow < Base
        def call
          db_instance = rdb.db_instances.find {|db_instance| db_instance['DBInstanceIdentifier'] == message[:db_instance_id] }
          db_instance.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/rdb_db_instance_show.rb
ruboty-niftycloud-0.0.4 lib/ruboty/niftycloud/actions/rdb_db_instance_show.rb
ruboty-niftycloud-0.0.3 lib/ruboty/niftycloud/actions/rdb_db_instance_show.rb
ruboty-niftycloud-0.0.2 lib/ruboty/niftycloud/actions/rdb_db_instance_show.rb
ruboty-niftycloud-0.0.1 lib/ruboty/niftycloud/actions/rdb_db_instance_show.rb