Class: LMSGraphQL::Mutations::Canvas::DeleteGroup
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::DeleteGroup
- Defined in:
- lib/lms_graphql/mutations/canvas/delete_group.rb
Instance Method Summary collapse
Instance Method Details
#resolve(group_id:) ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/lms_graphql/mutations/canvas/delete_group.rb', line 9 def resolve(group_id:) context[:canvas_api].call("DELETE_GROUP").proxy( "DELETE_GROUP", { "group_id": group_id }, {}, ).parsed_response end |