Class: LMS::GraphQL::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



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

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