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