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