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