Class: Edge::Sample
- Inherits:
-
Object
- Object
- Edge::Sample
- Defined in:
- lib/logstash/outputs/Edge/sample.rb
Instance Attribute Summary collapse
-
#timestamp ⇒ Object
readonly
Returns the value of attribute timestamp.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(timestamp_param, value_param) ⇒ Sample
constructor
A new instance of Sample.
Constructor Details
#initialize(timestamp_param, value_param) ⇒ Sample
Returns a new instance of Sample.
6 7 8 9 |
# File 'lib/logstash/outputs/Edge/sample.rb', line 6 def initialize(, value_param) = value = value_param end |
Instance Attribute Details
#timestamp ⇒ Object (readonly)
Returns the value of attribute timestamp.
4 5 6 |
# File 'lib/logstash/outputs/Edge/sample.rb', line 4 def @timestamp end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
4 5 6 |
# File 'lib/logstash/outputs/Edge/sample.rb', line 4 def value @value end |