class LMSGraphQL::Resolvers::Canvas::GetSisImportList

Public Instance Methods

resolve(account_id:, created_since: nil, created_before: nil, workflow_state: nil, get_all: false) click to toggle source
# File lib/lms_graphql/resolvers/canvas/get_sis_import_list.rb, line 13
def resolve(account_id:, created_since: nil, created_before: nil, workflow_state: nil, get_all: false)
  result = context[:canvas_api].call("GET_SIS_IMPORT_LIST").proxy(
    "GET_SIS_IMPORT_LIST",
    {
      "account_id": account_id,
      "created_since": created_since,
      "created_before": created_before,
      "workflow_state": workflow_state            },
    nil,
    get_all,
  )
  get_all ? result : result.parsed_response
end