Class: CPEE::Properties::GetStateMachine

Inherits:
Riddl::Implementation
  • Object
show all
Defined in:
lib/cpee/implementation_properties.rb

Overview

}}}

Instance Method Summary collapse

Instance Method Details

#responseObject

{{{



268
269
270
271
272
# File 'lib/cpee/implementation_properties.rb', line 268

def response
  id = @a[0]
  opts = @a[1]
  Riddl::Parameter::Complex.new('statemachine','text/xml',File.read(opts[:states]))
end