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