Class: LMSGraphQL::Mutations::Canvas::UnlinkOutcomeAccount

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

Instance Method Summary collapse

Instance Method Details

#resolve(account_id:, id:, outcome_id:) ⇒ Object



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

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