Module: SimpleGoogleDrive

Defined in:
lib/simple_google_drive.rb,
lib/simple_google_drive/client.rb,
lib/simple_google_drive/version.rb,
lib/simple_google_drive/session_base.rb

Defined Under Namespace

Classes: Client, SessionBase

Constant Summary collapse

API_HOST =
"www.googleapis.com"
API_VERSION =
"2"
API_UPLOAD_URL =
"https://#{API_HOST}/upload/drive/v#{API_VERSION}"
API_BASE_URL =
"https://#{API_HOST}/drive/v#{API_VERSION}"
VERSION =
"0.5.1"

Class Method Summary collapse

Class Method Details

.new(oauth2_access_token) ⇒ Object



17
18
19
# File 'lib/simple_google_drive.rb', line 17

def self.new(oauth2_access_token)
  Client.new(oauth2_access_token)
end