Class: Mumukit::Bridge::ResponseType::Unstructured

Inherits:
Base
  • Object
show all
Defined in:
lib/mumukit/bridge/runner/response_type.rb

Instance Method Summary collapse

Methods inherited from Base

#global_status, #parse, #parse_expectation_results

Instance Method Details

#build_hash(response) ⇒ Object



58
59
60
61
62
# File 'lib/mumukit/bridge/runner/response_type.rb', line 58

def build_hash(response)
  {response_type: :unstructured,
   test_results: [],
   status: response['exit'].to_sym}
end