Class: WebfleetConnect::FormatHandlers::CsvResponseParser

Inherits:
Object
  • Object
show all
Defined in:
lib/webfleet_connect/format_handlers/csv_response_parser.rb

Instance Method Summary collapse

Instance Method Details

#to_hash(message) ⇒ Object



5
6
7
8
9
# File 'lib/webfleet_connect/format_handlers/csv_response_parser.rb', line 5

def to_hash(message)
  csv = parse(message)
  hash = format(csv)
  symbolized_hash(hash)
end