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