Method: CPEE::Properties::DelDetail#response

Defined in:
lib/cpee/implementation_properties.rb

#responseObject

{{{



627
628
629
630
631
632
633
634
635
636
# File 'lib/cpee/implementation_properties.rb', line 627

def response
  id = @a[0]
  opts = @a[1]
  if CPEE::Persistence::extract_item(id,opts,@r.join('/'))
    CPEE::Persistence::set_position(id,opts,'position','unmark' => [ { 'position' => @r.last } ])
  else
    @status = 404
  end
  nil
end