I am making a call to an external API and get the following response data in JSON.
{
"count": 1,
"styles": [
{
"vehicle_id": "400882961",
"style": "AWD Titanium 4dr Sedan"
}
]
}
I am wondering how I can use the data in my view. I am using @details to represent my data. If I put @details.inspect
in my view I give me the data as you see it here.
I'd like to be able to put the vehicle_id and style info in my view.
Completely new to Rails so I am little lost. Any help would be greatly appreciated.