class LMSGraphQL::Resolvers::Canvas::ListOpenedPollSession

Public Instance Methods

resolve(get_all: false) click to toggle source
# File lib/lms_graphql/resolvers/canvas/list_opened_poll_sessions.rb, line 9
def resolve(get_all: false)
  result = context[:canvas_api].call("LIST_OPENED_POLL_SESSIONS").proxy(
    "LIST_OPENED_POLL_SESSIONS",
    {
    },
    nil,
    get_all,
  )
  get_all ? result : result.parsed_response
end