Class: CPEE::EvalRuby::Structurize

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

Overview

}}}

Instance Method Summary collapse

Instance Method Details

#responseObject

{{{



131
132
133
# File 'lib/cpee-eval-ruby/implementation.rb', line 131

def response
  Riddl::Parameter::Complex.new('structurized','application/json',JSON::generate(CPEE::EvalRuby::Translation::structurize_result(@p)))
end