I'm calling a json api and retrieving this as the result every single time:
{
"@endDate": "2016-11-05",
"@metric": "Sessions",
"@startDate": "2016-11-05",
"@generatedDate": "11\/5\/16 6:14 PM",
"@version": "1.0",
"day": {
"@date": "2016-11-05",
"@value": "8174"
}
}
I want to get the number 8174 in a variable in rails, how do I do this?