Class: LMS::GraphQL::Mutations::Canvas::RemoveObservee

Inherits:
CanvasBaseMutation
  • Object
show all
Defined in:
lib/lms/graphql/mutations/canvas/remove_observee.rb

Instance Method Summary collapse

Instance Method Details

#resolve(user_id:, observee_id:, root_account_id: nil) ⇒ Object



12
13
14
15
16
17
18
19
20
21
# File 'lib/lms/graphql/mutations/canvas/remove_observee.rb', line 12

def resolve(user_id:, observee_id:, root_account_id: nil)
  ctx[:canvas_api].proxy(
    "REMOVE_OBSERVEE",
    {
      "user_id": user_id,
      "observee_id": observee_id,
      "root_account_id":               },
    nil,
  ).parsed_response
end