lib/cpee/implementation.rb in cpee-1.4.16 vs lib/cpee/implementation.rb in cpee-1.4.17

- old
+ new

@@ -140,11 +140,11 @@ def response controller = @a[0] Riddl::Parameter::Complex.new("wis","text/xml") do ins = XML::Smart::string('<instances/>') controller.sort{|a,b| b[0] <=> a[0] }.each do |k,v| - ins.root.add('instance', v.info, 'uuid' => v.uuid, 'id' => k, 'state' => v.state) + ins.root.add('instance', v.info, 'uuid' => v.uuid, 'id' => k, 'state' => v.state, 'state_changed' => v.state_changed ) end ins.to_s end end end #}}} @@ -164,9 +164,10 @@ end end controller[id] = Controller.new(id,opts) controller[id].info = name + controller[id].state_change! Riddl::Parameter::Simple.new("id", id) end end #}}}