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