Class: Fluent::S3Output::TextCompressor
- Inherits:
-
Compressor
- Object
- Compressor
- Fluent::S3Output::TextCompressor
- Defined in:
- lib/fluent/plugin/out_s3.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Compressor
Instance Method Details
#compress(chunk, tmp) ⇒ Object
203 204 205 206 |
# File 'lib/fluent/plugin/out_s3.rb', line 203 def compress(chunk, tmp) chunk.write_to(tmp) tmp.close end |
#content_type ⇒ Object
199 200 201 |
# File 'lib/fluent/plugin/out_s3.rb', line 199 def content_type 'text/plain'.freeze end |
#ext ⇒ Object
195 196 197 |
# File 'lib/fluent/plugin/out_s3.rb', line 195 def ext 'txt'.freeze end |