Class: LMSGraphQL::Mutations::Canvas::FilesUploadFile

Inherits:
CanvasBaseMutation
  • Object
show all
Defined in:
lib/lms_graphql/mutations/canvas/files_upload_file.rb

Instance Method Summary collapse

Instance Method Details

#resolve(folder_id:) ⇒ Object



9
10
11
12
13
14
15
16
# File 'lib/lms_graphql/mutations/canvas/files_upload_file.rb', line 9

def resolve(folder_id:)
  ctx[:canvas_api].proxy(
    "FILES_UPLOAD_FILE",
    {
      "folder_id": folder_id            },
    nil,
  ).parsed_response
end