class CPEE::Properties::GetComplex

Public Instance Methods

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