Class: Fluent::GCS::TextObjectCreator
Instance Method Summary
collapse
#content_encoding, #create
Instance Method Details
#content_type ⇒ Object
69
70
71
|
# File 'lib/fluent/plugin/gcs/object_creator.rb', line 69
def content_type
"text/plain"
end
|
#file_extension ⇒ Object
73
74
75
|
# File 'lib/fluent/plugin/gcs/object_creator.rb', line 73
def file_extension
"txt"
end
|
#write(chunk, io) ⇒ Object
77
78
79
|
# File 'lib/fluent/plugin/gcs/object_creator.rb', line 77
def write(chunk, io)
chunk.write_to(io)
end
|