Class: LMSGraphQL::Mutations::Canvas::RestoreDeletedEportfolio

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

Instance Method Summary collapse

Instance Method Details

#resolve(eportfolio_id:) ⇒ Object



12
13
14
15
16
17
18
19
20
# File 'lib/lms_graphql/mutations/canvas/restore_deleted_eportfolio.rb', line 12

def resolve(eportfolio_id:)
  context[:canvas_api].call("RESTORE_DELETED_EPORTFOLIO").proxy(
    "RESTORE_DELETED_EPORTFOLIO",
    {
      "eportfolio_id": eportfolio_id
    },
    {},
  ).parsed_response
end