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



83
84
85
# File 'lib/fluent/plugin/gcs/object_creator.rb', line 83

def content_type
  "application/json"
end

#file_extensionObject



87
88
89
# File 'lib/fluent/plugin/gcs/object_creator.rb', line 87

def file_extension
  "json"
end