Class: CPEE::Notifications::DeleteSubscription
- Inherits:
-
Riddl::Implementation
- Object
- Riddl::Implementation
- CPEE::Notifications::DeleteSubscription
- Defined in:
- lib/cpee/implementation_notifications.rb
Overview
}}}
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.set(id, opts, key) ⇒ Object
{{{
149 150 151 |
# File 'lib/cpee/implementation_notifications.rb', line 149 def self::set(id,opts,key) CPEE::Persistence::set_handler(id,opts,key,"",[],true) end |
Instance Method Details
#response ⇒ Object
153 154 155 156 157 158 159 160 161 162 163 164 |
# File 'lib/cpee/implementation_notifications.rb', line 153 def response id = @a[0] opts = @a[1] key = @r.last if CPEE::Persistence::exists_handler?(id,opts,key) DeleteSubscription::set(id,opts,key) else @status = 404 end nil end |