Module: Sanford::ConnectionHandler::SummaryLine

Defined in:
lib/sanford/connection_handler.rb

Constant Summary collapse

KEYS =
%w{time status handler service params error}.freeze

Class Method Summary collapse

Class Method Details

.new(line_attrs) ⇒ Object



143
144
145
# File 'lib/sanford/connection_handler.rb', line 143

def self.new(line_attrs)
  KEYS.map{ |k| "#{k}=#{line_attrs[k].inspect}" }.join(' ')
end