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:
Victor 2016-01-19 13:49:51 +03:00
parent 99a70f8a0a
commit 0948acd8bf
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ require 'google/apis/core/api_command'
require 'google/apis/errors' require 'google/apis/errors'
require 'addressable/uri' require 'addressable/uri'
require 'mime-types' require 'mime-types'
require "tempfile"
module Google module Google
module Apis module Apis