Class: LMSGraphQL::Mutations::Canvas::UpdateEntryCourse
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::UpdateEntryCourse
- Defined in:
- lib/lms_graphql/mutations/canvas/update_entry_courses.rb
Instance Method Summary collapse
Instance Method Details
#resolve(course_id:, topic_id:, id:, message: nil) ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/lms_graphql/mutations/canvas/update_entry_courses.rb', line 15 def resolve(course_id:, topic_id:, id:, message: nil) context[:canvas_api].call("UPDATE_ENTRY_COURSES").proxy( "UPDATE_ENTRY_COURSES", { "course_id": course_id, "topic_id": topic_id, "id": id }, { "message": }, ).parsed_response end |