Sha256: 8c7e28f8ea72a6bb4ec7d1eebac51c8cb9c8bbebd568af2eaf7d209dbd89d2b5

Contents?: true

Size: 379 Bytes

Versions: 5

Compression:

Stored size: 379 Bytes

Contents

module Ruboty
  module Niftycloud
    module Actions
      class ComputingSslCertificateShow < Base
        def call
          ssl_certificate = computing.ssl_certificates.find {|ssl_certificate| ssl_certificate['fqdnId'] == message[:fqdn_id] }
          ssl_certificate.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_ssl_certificate_show.rb
ruboty-niftycloud-0.0.4 lib/ruboty/niftycloud/actions/computing_ssl_certificate_show.rb
ruboty-niftycloud-0.0.3 lib/ruboty/niftycloud/actions/computing_ssl_certificate_show.rb
ruboty-niftycloud-0.0.2 lib/ruboty/niftycloud/actions/computing_ssl_certificate_show.rb
ruboty-niftycloud-0.0.1 lib/ruboty/niftycloud/actions/computing_ssl_certificate_show.rb