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