Class: LMSGraphQL::Mutations::Canvas::DeleteCustomDatum
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::DeleteCustomDatum
- Defined in:
- lib/lms_graphql/mutations/canvas/delete_custom_data.rb
Instance Method Summary collapse
Instance Method Details
#resolve(user_id:, ns:) ⇒ Object
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/lms_graphql/mutations/canvas/delete_custom_data.rb', line 13 def resolve(user_id:, ns:) context[:canvas_api].call("DELETE_CUSTOM_DATA").proxy( "DELETE_CUSTOM_DATA", { "user_id": user_id, "ns": ns }, {}, ).parsed_response end |