Class: LMS::GraphQL::Mutations::Canvas::ReorderQuestionGroup
- Inherits:
-
CanvasBaseMutation
- Object
- GraphQL::Schema::Mutation
- CanvasBaseMutation
- LMS::GraphQL::Mutations::Canvas::ReorderQuestionGroup
- Defined in:
- lib/lms/graphql/mutations/canvas/reorder_question_groups.rb
Instance Method Summary collapse
Instance Method Details
#resolve(course_id:, quiz_id:, id:, order_id:, order_type: nil) ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/lms/graphql/mutations/canvas/reorder_question_groups.rb', line 14 def resolve(course_id:, quiz_id:, id:, order_id:, order_type: nil) ctx[:canvas_api].proxy( "REORDER_QUESTION_GROUPS", { "course_id": course_id, "quiz_id": quiz_id, "id": id, "order[id]": order_id, "order[type]": order_type }, nil, ).parsed_response end |