Class: LMSGraphQL::Mutations::Canvas::PostReplyCourse
- Inherits:
-
CanvasBaseMutation
- Object
- GraphQL::Schema::Mutation
- CanvasBaseMutation
- LMSGraphQL::Mutations::Canvas::PostReplyCourse
- Defined in:
- lib/lms_graphql/mutations/canvas/post_reply_courses.rb
Instance Method Summary collapse
Instance Method Details
#resolve(course_id:, topic_id:, entry_id:, message: nil, attachment: nil) ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/lms_graphql/mutations/canvas/post_reply_courses.rb', line 13 def resolve(course_id:, topic_id:, entry_id:, message: nil, attachment: nil) ctx[:canvas_api].proxy( "POST_REPLY_COURSES", { "course_id": course_id, "topic_id": topic_id, "entry_id": entry_id, "message": , "attachment": }, nil, ).parsed_response end |