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