class LMSGraphQL::Mutations::Canvas::MarkEntryAsUnreadCourse

Public Instance Methods

resolve(course_id:, topic_id:, entry_id:, forced_read_state: nil) click to toggle source
# File lib/lms_graphql/mutations/canvas/mark_entry_as_unread_courses.rb, line 15
def resolve(course_id:, topic_id:, entry_id:, forced_read_state: nil)
  context[:canvas_api].call("MARK_ENTRY_AS_UNREAD_COURSES").proxy(
    "MARK_ENTRY_AS_UNREAD_COURSES",
    {
      "course_id": course_id,
      "topic_id": topic_id,
      "entry_id": entry_id,
      "forced_read_state": forced_read_state
    },
    {},
  ).parsed_response
end