Class: CacheFailover::Store::BrotliCompressor
- Inherits:
-
Object
- Object
- CacheFailover::Store::BrotliCompressor
- Defined in:
- lib/cache_failover/store.rb
Class Method Summary collapse
Class Method Details
.deflate(payload) ⇒ Object
7 8 9 |
# File 'lib/cache_failover/store.rb', line 7 def self.deflate(payload) ::Brotli.deflate(payload, quality: 1) end |
.inflate(payload) ⇒ Object
11 12 13 |
# File 'lib/cache_failover/store.rb', line 11 def self.inflate(payload) ::Brotli.inflate(payload) end |