Class: Fluent::GCS::LZMA2ObjectCreator

Inherits:
CommandObjectCreator show all
Defined in:
lib/fluent/plugin/gcs/object_creator.rb

Instance Method Summary collapse

Methods inherited from CommandObjectCreator

#initialize, #write

Methods inherited from ObjectCreator

#content_encoding, #create, #write

Constructor Details

This class inherits a constructor from Fluent::GCS::CommandObjectCreator

Instance Method Details

#content_typeObject



213
214
215
# File 'lib/fluent/plugin/gcs/object_creator.rb', line 213

def content_type
  "application/x-xz"
end

#file_extensionObject



217
218
219
# File 'lib/fluent/plugin/gcs/object_creator.rb', line 217

def file_extension
  "xz"
end