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