Class: LMSGraphQL::Resolvers::Canvas::GetSisImportList
- Inherits:
-
CanvasBaseResolver
- Object
- GraphQL::Schema::Resolver
- CanvasBaseResolver
- LMSGraphQL::Resolvers::Canvas::GetSisImportList
- Defined in:
- lib/lms_graphql/resolvers/canvas/get_sis_import_list.rb
Instance Method Summary collapse
Instance Method Details
#resolve(account_id:, created_since: nil, created_before: nil, workflow_state: nil, get_all: false) ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 25 |
# 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 |