Class: LMSGraphQL::Mutations::Canvas::SetCourseNickname
- Inherits:
-
CanvasBaseMutation
- Object
- GraphQL::Schema::Mutation
- CanvasBaseMutation
- LMSGraphQL::Mutations::Canvas::SetCourseNickname
- Defined in:
- lib/lms_graphql/mutations/canvas/set_course_nickname.rb
Instance Method Summary collapse
Instance Method Details
#resolve(course_id:, nickname:) ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/lms_graphql/mutations/canvas/set_course_nickname.rb', line 10 def resolve(course_id:, nickname:) ctx[:canvas_api].proxy( "SET_COURSE_NICKNAME", { "course_id": course_id, "nickname": nickname }, nil, ).parsed_response end |