class LMSGraphQL::Resolvers::Canvas::ListStudentGroupParticipant

Public Instance Methods

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