# File lib/heroku/commands/ssl.rb, line 3 def list heroku.list_domains(app).each do |d| if cert = d[:cert] display "#{d[:domain]} has a SSL certificate registered to #{cert[:subject]} which expires on #{cert[:expires_at].strftime("%b %d, %Y")}" else display "#{d[:domain]} has no certificate" end end end