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
{{{
258 259 260 261 262 263 264 265 266 |
# File 'lib/ruby/riddl/utils/notifications_producer.rb', line 258 def response backend = @a[0] handler = @a[1] key = @r.last backend.subscriptions[key].delete handler.key(key).delete unless handler.nil? return end |