Class: LMS::GraphQL::Mutations::Canvas::MarkAllEntriesAsUnreadCourse
- Inherits:
-
CanvasBaseMutation
- Object
- GraphQL::Schema::Mutation
- CanvasBaseMutation
- LMS::GraphQL::Mutations::Canvas::MarkAllEntriesAsUnreadCourse
- Defined in:
- lib/lms/graphql/mutations/canvas/mark_all_entries_as_unread_courses.rb
Instance Method Summary collapse
Instance Method Details
#resolve(course_id:, topic_id:, forced_read_state: nil) ⇒ Object
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/lms/graphql/mutations/canvas/mark_all_entries_as_unread_courses.rb', line 12 def resolve(course_id:, topic_id:, forced_read_state: nil) ctx[:canvas_api].proxy( "MARK_ALL_ENTRIES_AS_UNREAD_COURSES", { "course_id": course_id, "topic_id": topic_id, "forced_read_state": forced_read_state }, nil, ).parsed_response end |