Class: CPEE::Properties::SetItem
- Inherits:
-
Riddl::Implementation
- Object
- Riddl::Implementation
- CPEE::Properties::SetItem
- Defined in:
- lib/cpee/implementation_properties.rb
Overview
}}}
Instance Method Summary collapse
-
#response ⇒ Object
{{{.
Instance Method Details
#response ⇒ Object
{{{
455 456 457 458 459 460 461 462 463 464 465 466 |
# File 'lib/cpee/implementation_properties.rb', line 455 def response item = @a[0] id = @a[1] opts = @a[2] val = { @r.last => @p[0].value } if CPEE::Persistence::extract_item(id,opts,@r.join('/')) CPEE::Persistence::set_list(id,opts,item,val) else @status = 404 end nil end |