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

{{{



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

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