# File lib/heroku/command/pgbackups.rb, line 15
    def index
      backups = []
      pgbackup_client.get_transfers.each { |t|
        next unless backup_types.member?(t['to_name']) && !t['error_at'] && !t['destroyed_at']
        backups << [backup_name(t['to_url']), t['created_at'], t['size'], t['from_name'], ]
      }

      if backups.empty?
        display("No backups. Capture one with `heroku pgbackups:capture`.")
      else
        display Display.new.render([["ID", "Backup Time", "Size", "Database"]], backups)
      end
    end