Class: LMSGraphQL::Mutations::Canvas::CopyFolder
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::CopyFolder
- Defined in:
- lib/lms_graphql/mutations/canvas/copy_folder.rb
Instance Method Summary collapse
Instance Method Details
#resolve(dest_folder_id:, source_folder_id:) ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/lms_graphql/mutations/canvas/copy_folder.rb', line 13 def resolve(dest_folder_id:, source_folder_id:) context[:canvas_api].call("COPY_FOLDER").proxy( "COPY_FOLDER", { "dest_folder_id": dest_folder_id }, { "source_folder_id": source_folder_id }, ).parsed_response end |