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
{{{
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 |
# File 'lib/cpee/implementation.rb', line 144 def response controller = @a[0] id = @r[0].to_i unless controller[id] @status = 400 return end Riddl::Parameter::Complex.new("info","text/xml") do i = XML::Smart::string <<-END <info instance='#{@r[0]}'> <notifications/> <properties/> <callbacks/> </info> END i.to_s end end |