class LMSGraphQL::Resolvers::Canvas::GetSisImportErrorListSisImportError

Public Instance Methods

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