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

{{{



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

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