Sha256: e8743b300710749b3e8bd88b39481035dc76f5149e587951f80ed5ba77ce01fa

Contents?: true

Size: 379 Bytes

Versions: 5

Compression:

Stored size: 379 Bytes

Contents

module Ruboty
  module Niftycloud
    module Actions
      class ComputingSecurityGroupShow < Base
        def call
          security_group = computing.security_groups.find {|security_group| security_group['groupName'] == message[:group_name] }
          security_group.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_security_group_show.rb
ruboty-niftycloud-0.0.4 lib/ruboty/niftycloud/actions/computing_security_group_show.rb
ruboty-niftycloud-0.0.3 lib/ruboty/niftycloud/actions/computing_security_group_show.rb
ruboty-niftycloud-0.0.2 lib/ruboty/niftycloud/actions/computing_security_group_show.rb
ruboty-niftycloud-0.0.1 lib/ruboty/niftycloud/actions/computing_security_group_show.rb