Class: CPEE::Callbacks::Callbacks
- Inherits:
-
Riddl::Implementation
- Object
- Riddl::Implementation
- CPEE::Callbacks::Callbacks
- Defined in:
- lib/cpee/implementation_callbacks.rb
Overview
{{{
Instance Method Summary collapse
Instance Method Details
#response ⇒ Object
37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/cpee/implementation_callbacks.rb', line 37 def response id = @a[0] opts = @a[1] Riddl::Parameter::Complex.new("callbacks","text/xml") do ret = XML::Smart::string <<-END <callbacks/> END CPEE::Persistence::extract_set(id,opts,'callbacks').each do |de| ret.root.add('callback', de[1], :id => de[0]) end ret.to_s end end |