Class: Mumukit::Bridge::ResponseType::Mixed

Inherits:
Structured 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



66
67
68
69
70
# File 'lib/mumukit/bridge/runner/response_type.rb', line 66

def build_hash(response)
  structured_results = super(response)
  structured_results.merge response_type: :mixed,
                           status: status(structured_results[:status], response['exit'].to_sym)
end