This allows the JSON response returned from spotify to be accessed across all objects by storing it in the Base object. This was useful for our use case where we needed to get access to the underlying json blob, but still wanted to still be able to use the handy underlying rspotify methods. RSpotify.raw_response = true only returns the hashes. Not sure how this affects memory performance etc.
This allows the JSON response returned from spotify to be accessed across all objects by storing it in the Base object. This was useful for our use case where we needed to get access to the underlying json blob, but still wanted to still be able to use the handy underlying rspotify methods.
RSpotify.raw_response = true
only returns the hashes. Not sure how this affects memory performance etc.