class LMSGraphQL::Mutations::Canvas::RestoreWorkflowStatesOfSisImportedItem

Public Instance Methods

resolve(account_id:, id:, batch_mode: nil, undelete_only: nil, unconclude_only: nil) click to toggle source
# File lib/lms_graphql/mutations/canvas/restore_workflow_states_of_sis_imported_items.rb, line 16
def resolve(account_id:, id:, batch_mode: nil, undelete_only: nil, unconclude_only: nil)
  context[:canvas_api].call("RESTORE_WORKFLOW_STATES_OF_SIS_IMPORTED_ITEMS").proxy(
    "RESTORE_WORKFLOW_STATES_OF_SIS_IMPORTED_ITEMS",
    {
      "account_id": account_id,
      "id": id
    },
    {
      "batch_mode": batch_mode,
      "undelete_only": undelete_only,
      "unconclude_only": unconclude_only
    },
  ).parsed_response
end