fog / fog-backblaze

Integration library for gem fog and Backblaze B2 Cloud Storage
MIT License
19 stars 22 forks source link

Fix token_cache option and add tests #17

Closed bnauta closed 4 years ago

bnauta commented 4 years ago

@token_cache setter in Fog::Backblaze::Storage::Real was calling the instance variable (through attr_reader) rather than the provided options, making it impossible to set a custom token cache.

Fixed the calls and added tests for integrity.