def render(options, screenshots, export_path = nil)
      @screenshots = screenshots || []
      @options = options
      @export_path = export_path

      @app_name = (options[:name]['en-US'] || options[:name].values.first) if options[:name]
      @app_name ||= options[:app].name

      @languages = options[:description].keys if options[:description]
      @languages ||= options[:app].latest_version.description.languages

      html_path = File.join(Deliver::ROOT, "lib/assets/summary.html.erb")
      html = ERB.new(File.read(html_path)).result(binding) # https://web.archive.org/web/20160430190141/www.rrn.dk/rubys-erb-templating-system

      export_path = File.join(export_path, "Preview.html")
      File.write(export_path, html)

      return export_path
    end
def render(options, screenshots, export_path = nil)
      @screenshots = screenshots || []
      @options = options
      @export_path = export_path

      @app_name = (options[:name]['en-US'] || options[:name].values.first) if options[:name]
      @app_name ||= options[:app].name

      @languages = options[:description].keys if options[:description]
      @languages ||= options[:app].latest_version.description.languages

      html_path = File.join(Deliver::ROOT, "lib/assets/summary.html.erb")
      html = ERB.new(File.read(html_path)).result(binding) # https://web.archive.org/web/20160430190141/www.rrn.dk/rubys-erb-templating-system

      export_path = File.join(export_path, "Preview.html")
      File.write(export_path, html)

      return export_path
    end
Renders all data available to quickly see if everything was correctly generated.
 @param export_path (String) The path to a folder where the resulting HTML file should be stored.