class LMSGraphQL::Resolvers::Canvas::GetAccountsThatAdminsCanManage

Public Instance Methods

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