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

Inherits:
BaseMutation
  • 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



14
15
16
17
18
19
20
21
22
23
24
# File 'lib/lms_graphql/mutations/canvas/unlink_outcome_accounts.rb', line 14

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