class LMSGraphQL::Mutations::Canvas::UpdateSinglePoll
Public Instance Methods
resolve(id:, polls_question:, polls_description: nil)
click to toggle source
# File lib/lms_graphql/mutations/canvas/update_single_poll.rb, line 14 def resolve(id:, polls_question:, polls_description: nil) context[:canvas_api].call("UPDATE_SINGLE_POLL").proxy( "UPDATE_SINGLE_POLL", { "id": id }, { "polls[question]": polls_question, "polls[description]": polls_description }, ).parsed_response end