Class: LMSGraphQL::Mutations::Canvas::RestoreWorkflowStatesOfSisImportedItem

Inherits:
BaseMutation
  • Object
show all
Defined in:
lib/lms_graphql/mutations/canvas/restore_workflow_states_of_sis_imported_items.rb

Instance Method Summary collapse

Instance Method Details

#resolve(account_id:, id:, batch_mode: nil, undelete_only: nil, unconclude_only: nil) ⇒ Object



16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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": ,
      "id": id
    },
    {
      "batch_mode": batch_mode,
      "undelete_only": undelete_only,
      "unconclude_only": unconclude_only
    },
  ).parsed_response
end