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