Method: NexClient::Commands::SslCertificates.display_certs
- Defined in:
- lib/nex_client/commands/ssl_certificates.rb
.display_certs(list) ⇒ Object
82 83 84 85 86 87 88 89 90 |
# File 'lib/nex_client/commands/ssl_certificates.rb', line 82 def self.display_certs(list) table = Terminal::Table.new title: DOMAINS_TITLE, headings: DOMAINS_HEADERS do |t| [list].flatten.compact.each do |e| t.add_row(self.format_record(e)) end end puts table puts "\n" end |