class LMSGraphQL::Mutations::Canvas::AddObservee
Public Instance Methods
resolve(user_id:, observee_id:, root_account_id: nil)
click to toggle source
# File lib/lms_graphql/mutations/canvas/add_observee.rb, line 14 def resolve(user_id:, observee_id:, root_account_id: nil) context[:canvas_api].call("ADD_OBSERVEE").proxy( "ADD_OBSERVEE", { "user_id": user_id, "observee_id": observee_id }, { "root_account_id": root_account_id }, ).parsed_response end