class LMSGraphQL::Mutations::Canvas::RemoveDomainFromAccountWhitelist

Public Instance Methods

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