Class: Fluent::GCS::TextObjectCreator
Instance Method Summary
collapse
#content_encoding, #create
Instance Method Details
#content_type ⇒ Object
130
131
132
|
# File 'lib/fluent/plugin/gcs/object_creator.rb', line 130
def content_type
"text/plain"
end
|
#file_extension ⇒ Object
134
135
136
|
# File 'lib/fluent/plugin/gcs/object_creator.rb', line 134
def file_extension
"txt"
end
|
#write(chunk, io) ⇒ Object
138
139
140
|
# File 'lib/fluent/plugin/gcs/object_creator.rb', line 138
def write(chunk, io)
chunk.write_to(io)
end
|