class CPEE::Properties::SetItem

Public Instance Methods

response() click to toggle source
# File lib/cpee/implementation_properties.rb, line 450
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