app/services/google_docs_to_govspeak.rb
# Fetch the HTML file from the export.
Fetch the HTML file from the export.
Fetch the HTML file from the export .
def content_from_zipfile
    content = ""
    Zip::File.open(@uploaded_file.path) do |zip_file|
      zip_file.each do |entry|
        content = entry.get_input_stream.read
      end
    end
    content
  end
def content_from_zipfile content = "" Zip :: File . open ( @uploaded_file . path ) do | zip_file | zip_file . each do | entry | content = entry . get_input_stream . read end end content end
Fetch the HTML file from the export.
Fetch the HTML file from the export .