Class: LMS::GraphQL::Mutations::Canvas::AddObserveeWithCredential
- Inherits:
-
CanvasBaseMutation
- Object
- GraphQL::Schema::Mutation
- CanvasBaseMutation
- LMS::GraphQL::Mutations::Canvas::AddObserveeWithCredential
- Defined in:
- lib/lms/graphql/mutations/canvas/add_observee_with_credentials.rb
Instance Method Summary collapse
Instance Method Details
#resolve(user_id:, observee_unique_id: nil, observee_password: nil, access_token: nil, root_account_id: nil) ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/lms/graphql/mutations/canvas/add_observee_with_credentials.rb', line 14 def resolve(user_id:, observee_unique_id: nil, observee_password: nil, access_token: nil, root_account_id: nil) ctx[:canvas_api].proxy( "ADD_OBSERVEE_WITH_CREDENTIALS", { "user_id": user_id, "observee[unique_id]": observee_unique_id, "observee[password]": observee_password, "access_token": access_token, "root_account_id": root_account_id }, nil, ).parsed_response end |