class LMSGraphQL::Mutations::Canvas::DeletePollChoice

Public Instance Methods

resolve(poll_id:, id:) click to toggle source
# 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