Class: Subscriptions::Notes::Deleted

Inherits:
Base show all
Defined in:
app/graphql/subscriptions/notes/deleted.rb

Defined Under Namespace

Classes: DeletedNote

Instance Method Summary collapse

Methods inherited from Base

#authorized?

Methods included from Gitlab::Graphql::Laziness

#defer, #force

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