Class: LMS::GraphQL::Mutations::Canvas::MergeUserIntoAnotherUserAccount
- Inherits:
-
CanvasBaseMutation
- Object
- GraphQL::Schema::Mutation
- CanvasBaseMutation
- LMS::GraphQL::Mutations::Canvas::MergeUserIntoAnotherUserAccount
- Defined in:
- lib/lms/graphql/mutations/canvas/merge_user_into_another_user_accounts.rb
Instance Method Summary collapse
Instance Method Details
#resolve(id:, destination_account_id:, destination_user_id:) ⇒ Object
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/lms/graphql/mutations/canvas/merge_user_into_another_user_accounts.rb', line 12 def resolve(id:, destination_account_id:, destination_user_id:) ctx[:canvas_api].proxy( "MERGE_USER_INTO_ANOTHER_USER_ACCOUNTS", { "id": id, "destination_account_id": destination_account_id, "destination_user_id": destination_user_id }, nil, ).parsed_response end |