Class: LMSGraphQL::Mutations::Canvas::MarkTopicAsReadCourse
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::MarkTopicAsReadCourse
- Defined in:
- lib/lms_graphql/mutations/canvas/mark_topic_as_read_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_read_courses.rb', line 13 def resolve(course_id:, topic_id:) context[:canvas_api].call("MARK_TOPIC_AS_READ_COURSES").proxy( "MARK_TOPIC_AS_READ_COURSES", { "course_id": course_id, "topic_id": topic_id }, {}, ).parsed_response end |