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