Method: Voog::Client#parse_response

Defined in:
lib/voog_api/client.rb

#parse_response(response) ⇒ Object



148
149
150
# File 'lib/voog_api/client.rb', line 148

def parse_response(response)
  JSON.parse(response).inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
end