Class: CPEE::Worklist::GetOrgModels

Inherits:
Riddl::Implementation
  • Object
show all
Defined in:
lib/cpee-worklist/implementation.rb

Overview

}}}

Instance Method Summary collapse

Instance Method Details

#responseObject

{{{



307
308
309
310
311
# File 'lib/cpee-worklist/implementation.rb', line 307

def response
  out = XML::Smart.string('<orgmodels/>')
  @a[0].orgmodels.each{|e| out.root.add("orgmodel", e)}
  Riddl::Parameter::Complex.new "return","text/xml", out.to_s
end