Class: LMSGraphQL::Resolvers::Canvas::GetSisImportErrorListSisImportError

Inherits:
CanvasBaseResolver
  • Object
show all
Defined in:
lib/lms_graphql/resolvers/canvas/get_sis_import_error_list_sis_import_errors.rb

Instance Method Summary collapse

Instance Method Details

#resolve(account_id:, failure: nil, get_all: false) ⇒ Object



11
12
13
14
15
16
17
18
19
20
21
# 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": ,
      "failure": failure            },
    nil,
    get_all,
  )
  get_all ? result : result.parsed_response
end