Class: LogStash::Outputs::SumoLogic::Batch
- Inherits:
-
Object
- Object
- LogStash::Outputs::SumoLogic::Batch
- Defined in:
- lib/logstash/outputs/sumologic/batch.rb
Instance Attribute Summary collapse
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#payload ⇒ Object
Returns the value of attribute payload.
Instance Method Summary collapse
-
#initialize(headers, payload) ⇒ Batch
constructor
A new instance of Batch.
Constructor Details
#initialize(headers, payload) ⇒ Batch
Returns a new instance of Batch.
8 9 10 |
# File 'lib/logstash/outputs/sumologic/batch.rb', line 8 def initialize(headers, payload) @headers, @payload = headers, payload end |
Instance Attribute Details
#headers ⇒ Object
Returns the value of attribute headers.
6 7 8 |
# File 'lib/logstash/outputs/sumologic/batch.rb', line 6 def headers @headers end |
#payload ⇒ Object
Returns the value of attribute payload.
6 7 8 |
# File 'lib/logstash/outputs/sumologic/batch.rb', line 6 def payload @payload end |