class CPEE::Properties::GetDetail

Public Instance Methods

response() click to toggle source
# File lib/cpee/implementation_properties.rb, line 603
def response
  item = @a[0]
  id = @a[1]
  opts = @a[2]
  if val = CPEE::Persistence::extract_item(id,opts,@r.join('/'))
    Riddl::Parameter::Simple.new('value',val)
  else
    @status = 404
  end
end