# File lib/smart_proxy_remote_execution_ssh/command_update.rb, line 33 def initialize(data, timestamp = Time.now) @data = data @timestamp = timestamp end
# File lib/smart_proxy_remote_execution_ssh/command_update.rb, line 38 def data_type raise NotImplemented end
# File lib/smart_proxy_remote_execution_ssh/command_update.rb, line 42 def to_hash { :output_type => data_type, :output => data, :timestamp => timestamp.to_f } end