Class: CPEE::Info
- Inherits:
-
Riddl::Implementation
- Object
- Riddl::Implementation
- CPEE::Info
- Defined in:
- lib/cpee/implementation.rb
Overview
}}}
Instance Method Summary collapse
-
#response ⇒ Object
{{{.
Instance Method Details
#response ⇒ Object
{{{
432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 |
# File 'lib/cpee/implementation.rb', line 432 def response opts = @a[0] id = @r[0].to_i unless CPEE::Persistence::exists?(id,opts) @status = 404 return end Riddl::Parameter::Complex.new("info","text/xml") do i = XML::Smart::string <<-END <info instance='#{id}'> <notifications/> <properties/> <callbacks/> </info> END i.to_s end end |