Class: CPEE::Properties::PutHandlerWrapper
- Inherits:
-
Riddl::Implementation
- Object
- Riddl::Implementation
- CPEE::Properties::PutHandlerWrapper
- Defined in:
- lib/cpee/implementation_properties.rb
Overview
}}}
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.set(id, opts, hw) ⇒ Object
{{{
310 311 312 |
# File 'lib/cpee/implementation_properties.rb', line 310 def self::set(id,opts,hw) CPEE::Persistence::set_item(id,opts,'handlerwrapper',:handlerwrapper => hw) end |
Instance Method Details
#response ⇒ Object
313 314 315 316 317 318 319 320 321 322 |
# File 'lib/cpee/implementation_properties.rb', line 313 def response id = @a[0] opts = @a[1] if opts[:statemachine].readonly? id @status = 423 else PutHandlerWrapper::set(id,opts,@p[0].value) end nil end |