Class: LMSGraphQL::Mutations::Canvas::RemoveDomainFromAccount
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::RemoveDomainFromAccount
- Defined in:
- lib/lms_graphql/mutations/canvas/remove_domain_from_account.rb
Instance Method Summary collapse
Instance Method Details
#resolve(account_id:, domain:) ⇒ Object
13 14 15 16 17 18 19 20 21 22 |
# 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 |