Class: LMSGraphQL::Mutations::Canvas::AddDomainToAccountWhitelist
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::AddDomainToAccountWhitelist
- Defined in:
- lib/lms_graphql/mutations/canvas/add_domain_to_account_whitelist.rb
Instance Method Summary collapse
Instance Method Details
#resolve(account_id:, domain:) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/lms_graphql/mutations/canvas/add_domain_to_account_whitelist.rb', line 10 def resolve(account_id:, domain:) context[:canvas_api].call("ADD_DOMAIN_TO_ACCOUNT_WHITELIST").proxy( "ADD_DOMAIN_TO_ACCOUNT_WHITELIST", { "account_id": account_id }, { "domain": domain }, ).parsed_response end |