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