Class: LMS::GraphQL::Mutations::Canvas::SetCourseNickname
- Inherits:
-
CanvasBaseMutation
- Object
- GraphQL::Schema::Mutation
- CanvasBaseMutation
- LMS::GraphQL::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
11 12 13 14 15 16 17 18 19 |
# File 'lib/lms/graphql/mutations/canvas/set_course_nickname.rb', line 11 def resolve(course_id:, nickname:) ctx[:canvas_api].proxy( "SET_COURSE_NICKNAME", { "course_id": course_id, "nickname": nickname }, nil, ).parsed_response end |