class LMSGraphQL::Mutations::Canvas::RemoveDomainFromAccount

Public Instance Methods

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