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
{{{
163 164 165 |
# File 'lib/cpee/implementation_notifications.rb', line 163 def self::set(id,opts,key) CPEE::Persistence::set_handler(id,opts,key,"",[],true) end |
Instance Method Details
#response ⇒ Object
167 168 169 170 171 172 173 174 175 176 177 178 |
# File 'lib/cpee/implementation_notifications.rb', line 167 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 |