class LMSGraphQL::Mutations::Canvas::DeleteSubAccount

Public Instance Methods

resolve(account_id:, id:) click to toggle source
# File lib/lms_graphql/mutations/canvas/delete_sub_account.rb, line 13
def resolve(account_id:, id:)
  context[:canvas_api].call("DELETE_SUB_ACCOUNT").proxy(
    "DELETE_SUB_ACCOUNT",
    {
      "account_id": account_id,
      "id": id
    },
    {},
  ).parsed_response
end