Method: GoogleDrive::Session#collections

Defined in:
lib/google_drive/session.rb

#collections(params = {}, &block) ⇒ Object Also known as: folders

Returns the top-level folders (direct children of the root folder).

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



423
424
425
# File 'lib/google_drive/session.rb', line 423

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