Class: Riddl::Utils::Notifications::Producer::DeleteSubscription
- Inherits:
-
Implementation
- Object
- Implementation
- Riddl::Utils::Notifications::Producer::DeleteSubscription
- Defined in:
- lib/ruby/riddl/utils/notifications_producer.rb
Overview
}}}
Instance Method Summary collapse
-
#response ⇒ Object
{{{.
Methods inherited from Implementation
#headers, #initialize, #status
Constructor Details
This class inherits a constructor from Riddl::Implementation
Instance Method Details
#response ⇒ Object
{{{
252 253 254 255 256 257 258 259 260 |
# File 'lib/ruby/riddl/utils/notifications_producer.rb', line 252 def response backend = @a[0] handler = @a[1] key = @r.last backend.subscriptions[key].delete handler.key(key).delete unless handler.nil? return end |