Module: drive/driveService

Methods

(inner) init(svc)

Set up the service used for the Google Drive API. If no parameter passed in uses the real google API, a fake or mock can be passed in for testing.

Parameters:
Name Type Description
svc Object

(optional) if not passed uses the google.drive service

Source: