Sha256: 3b6968064427d21ca21ea0e2155dca3764a035932f1917e122a88b76740bf7ea

Contents?: true

Size: 987 Bytes

Versions: 2

Compression:

Stored size: 987 Bytes

Contents

module Lt
  module Google
    module Api
      class Drive
        @service: untyped

        FOLDER_RE: ::Regexp
        MIME_FILE: "application/vnd.google-apps.document"
        MIME_FOLDER: "application/vnd.google-apps.folder"

        attr_reader service: untyped

        def self.build: (untyped credentials) -> untyped
        def self.file_url_for: (untyped file_id) -> ::String
        def self.folder_id_for: (untyped url) -> untyped

        def initialize: (untyped credentials) -> void
        def copy: (untyped file_ids, untyped folder_id) -> untyped
        def copy_files: (untyped folder_id, untyped target_id) -> untyped
        def create_folder: (untyped name, ?untyped? parent_id) -> untyped
        def list_file_ids_in: (untyped folder_id, ?mime_type: untyped, ?with_subfolders: bool) -> untyped
        def fetch_folders: (untyped name, untyped folder_id) -> untyped

        private

        def list: (untyped folder_id) -> untyped
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
lt-lcms-0.6.0 vendor/rbs/lt-google-api/lib/lt/google/api/drive.rbs
lt-google-api-0.3.0 sig/lib/lt/google/api/drive.rbs