Class: Fluent::GCS::JSONObjectCreator

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

Instance Method Summary collapse

Methods inherited from TextObjectCreator

#write

Methods inherited from ObjectCreator

#content_encoding, #create, #write

Instance Method Details

#content_typeObject



85
86
87
# File 'lib/fluent/plugin/gcs/object_creator.rb', line 85

def content_type
  "application/json"
end

#file_extensionObject



89
90
91
# File 'lib/fluent/plugin/gcs/object_creator.rb', line 89

def file_extension
  "json"
end