required 'tempfile'
Otherwise I get: ``` gems/google-api-client-0.9/lib/google/apis/core/upload.rb:104:in `streamable?': uninitialized constant Google::Apis::Core::BaseUploadCommand::Tempfile (NameError) ``` when do ``` service.insert_file(metadata, upload_source: "temp.pdf") ```
This commit is contained in:
parent
99a70f8a0a
commit
0948acd8bf
|
@ -18,6 +18,7 @@ require 'google/apis/core/api_command'
|
|||
require 'google/apis/errors'
|
||||
require 'addressable/uri'
|
||||
require 'mime-types'
|
||||
require "tempfile"
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
|
|
Loading…
Reference in New Issue