Class: WebfleetConnect::FormatHandlers::JsonResponseParser

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

Instance Method Summary collapse

Instance Method Details

#to_hash(message) ⇒ Object



5
6
7
# File 'lib/webfleet_connect/format_handlers/json_response_parser.rb', line 5

def to_hash(message)
  JSON.parse(message, symbolize_names: true)
end