class LMSGraphQL::Mutations::Canvas::CourseQuizExtensionsSetExtensionsForStudentQuizSubmission
Public Instance Methods
resolve(course_id:, user_id:, extra_attempts: nil, extra_time: nil, manually_unlocked: nil, extend_from_now: nil, extend_from_end_at: nil)
click to toggle source
# File lib/lms_graphql/mutations/canvas/course_quiz_extensions_set_extensions_for_student_quiz_submissions.rb, line 18 def resolve(course_id:, user_id:, extra_attempts: nil, extra_time: nil, manually_unlocked: nil, extend_from_now: nil, extend_from_end_at: nil) context[:canvas_api].call("COURSE_QUIZ_EXTENSIONS_SET_EXTENSIONS_FOR_STUDENT_QUIZ_SUBMISSIONS").proxy( "COURSE_QUIZ_EXTENSIONS_SET_EXTENSIONS_FOR_STUDENT_QUIZ_SUBMISSIONS", { "course_id": course_id }, { "user_id": user_id, "extra_attempts": extra_attempts, "extra_time": extra_time, "manually_unlocked": manually_unlocked, "extend_from_now": extend_from_now, "extend_from_end_at": extend_from_end_at }, ).parsed_response end