class LMSGraphQL::Resolvers::Canvas::ListItemsForSelectiveImportAccount
Public Instance Methods
resolve(account_id:, id:, type: nil, get_all: false)
click to toggle source
# File lib/lms_graphql/resolvers/canvas/list_items_for_selective_import_accounts.rb, line 11 def resolve(account_id:, id:, type: nil, get_all: false) result = context[:canvas_api].call("LIST_ITEMS_FOR_SELECTIVE_IMPORT_ACCOUNTS").proxy( "LIST_ITEMS_FOR_SELECTIVE_IMPORT_ACCOUNTS", { "account_id": account_id, "id": id, "type": type }, nil, get_all, ) get_all ? result : result.parsed_response end