Class: LMSGraphQL::Mutations::Canvas::UnlinkOutcomeGlobal

Inherits:
CanvasBaseMutation
  • Object
show all
Defined in:
lib/lms_graphql/mutations/canvas/unlink_outcome_global.rb

Instance Method Summary collapse

Instance Method Details

#resolve(id:, outcome_id:) ⇒ Object



10
11
12
13
14
15
16
17
18
# File 'lib/lms_graphql/mutations/canvas/unlink_outcome_global.rb', line 10

def resolve(id:, outcome_id:)
  ctx[:canvas_api].proxy(
    "UNLINK_OUTCOME_GLOBAL",
    {
      "id": id,
      "outcome_id": outcome_id            },
    nil,
  ).parsed_response
end