Sha256: f8f2d720773312697f7952dceb6b1391faeb81ea1193d24903e0fbffe04ed96f
Contents?: true
Size: 420 Bytes
Versions: 5
Compression:
Stored size: 420 Bytes
Contents
# frozen_string_literal: true module Lt module Lcms module Lesson module Downloader class PDF < Base MIME_TYPE = 'application/pdf' def self.gdoc_file_url(id) "https://docs.google.com/file/d/#{id}" end def pdf_content service.get_file(file_id, download_dest: StringIO.new).string end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems