Class: LMSGraphQL::Mutations::Canvas::SelectMasteryPath
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::SelectMasteryPath
- Defined in:
- lib/lms_graphql/mutations/canvas/select_mastery_path.rb
Instance Method Summary collapse
Instance Method Details
#resolve(course_id:, module_id:, id:, assignment_set_id: nil, student_id: nil) ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/lms_graphql/mutations/canvas/select_mastery_path.rb', line 16 def resolve(course_id:, module_id:, id:, assignment_set_id: nil, student_id: nil) context[:canvas_api].call("SELECT_MASTERY_PATH").proxy( "SELECT_MASTERY_PATH", { "course_id": course_id, "module_id": module_id, "id": id }, { "assignment_set_id": assignment_set_id, "student_id": student_id }, ).parsed_response end |