class LMSGraphQL::Resolvers::Canvas::GetSinglePollChoice
Public Instance Methods
resolve(poll_id:, id:, get_all: false)
click to toggle source
# File lib/lms_graphql/resolvers/canvas/get_single_poll_choice.rb, line 10 def resolve(poll_id:, id:, get_all: false) result = context[:canvas_api].call("GET_SINGLE_POLL_CHOICE").proxy( "GET_SINGLE_POLL_CHOICE", { "poll_id": poll_id, "id": id }, nil, get_all, ) get_all ? result : result.parsed_response end