Class: Subscriptions::Notes::Deleted
- Inherits:
-
Base
- Object
- GraphQL::Schema::Subscription
- BaseSubscription
- Base
- Subscriptions::Notes::Deleted
- Defined in:
- app/graphql/subscriptions/notes/deleted.rb
Defined Under Namespace
Classes: DeletedNote
Constant Summary
Constants inherited from BaseSubscription
BaseSubscription::UNAUTHORIZED_ERROR_MESSAGE
Instance Method Summary collapse
Methods inherited from Base
Methods included from Gitlab::Graphql::Laziness
Methods inherited from BaseSubscription
#authorized?, #initialize, #subscribe
Constructor Details
This class inherits a constructor from Subscriptions::BaseSubscription
Instance Method Details
#update(*args) ⇒ Object
18 19 20 |
# File 'app/graphql/subscriptions/notes/deleted.rb', line 18 def update(*args) DeletedNote.new(object[:id], object[:model_name], object[:discussion_id], object[:last_discussion_note]) end |