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
{{{
263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 |
# File 'lib/cpee/implementation.rb', line 263 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 " <info instance='\#{id}'>\n <notifications/>\n <properties/>\n <callbacks/>\n </info>\n END\n i.to_s\n end\nend\n" |