# File lib/fission/response.rb, line 75 def self.from_shell_executor(shell_execute_result) response = new :code => shell_execute_result['process_status'].exitstatus unless response.successful? response.message = shell_execute_result['output'] end response end