Method: GoogleDrive::Session#collections

Defined in:
lib/google_drive/session.rb

#collections(params = {}, &block) ⇒ Object

Returns the top-level collections (direct children of the root collection).

By default, it returns the first 100 collections. See document of files method for how to get all collections.



325
326
327
# File 'lib/google_drive/session.rb', line 325

def collections(params = {}, &block)
  root_collection.subcollections(params, &block)
end