Class: Fluent::GCS::TextObjectCreator
Instance Method Summary
collapse
#content_encoding, #create
Instance Method Details
#content_type ⇒ Object
59
60
61
|
# File 'lib/fluent/plugin/gcs/object_creator.rb', line 59
def content_type
"text/plain"
end
|
#file_extension ⇒ Object
63
64
65
|
# File 'lib/fluent/plugin/gcs/object_creator.rb', line 63
def file_extension
"txt"
end
|
#write(chunk, io) ⇒ Object
67
68
69
|
# File 'lib/fluent/plugin/gcs/object_creator.rb', line 67
def write(chunk, io)
chunk.write_to(io)
end
|