Class: LMSGraphQL::Mutations::Canvas::CloseNotificationForUser

Inherits:
BaseMutation
  • Object
show all
Defined in:
lib/lms_graphql/mutations/canvas/close_notification_for_user.rb

Instance Method Summary collapse

Instance Method Details

#resolve(account_id:, id:) ⇒ Object



13
14
15
16
17
18
19
20
21
22
# File 'lib/lms_graphql/mutations/canvas/close_notification_for_user.rb', line 13

def resolve(account_id:, id:)
  context[:canvas_api].call("CLOSE_NOTIFICATION_FOR_USER").proxy(
    "CLOSE_NOTIFICATION_FOR_USER",
    {
      "account_id": ,
      "id": id
    },
    {},
  ).parsed_response
end