Class: LMSGraphQL::Mutations::Canvas::DeleteExternalToolAccount

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

Instance Method Summary collapse

Instance Method Details

#resolve(account_id:, external_tool_id:) ⇒ Object



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

def resolve(account_id:, external_tool_id:)
  context[:canvas_api].call("DELETE_EXTERNAL_TOOL_ACCOUNTS").proxy(
    "DELETE_EXTERNAL_TOOL_ACCOUNTS",
    {
      "account_id": ,
      "external_tool_id": external_tool_id
    },
    {},
  ).parsed_response
end