Class: ElasticRecord::AggregationResponse::SingleValueAggregation
- Inherits:
-
Aggregation
- Object
- Aggregation
- ElasticRecord::AggregationResponse::SingleValueAggregation
- Defined in:
- lib/elastic_record/aggregation_response/single_value_aggregation.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
-
#value_as_string ⇒ Object
Returns the value of attribute value_as_string.
Attributes inherited from Aggregation
Method Summary
Methods inherited from Aggregation
Constructor Details
This class inherits a constructor from ElasticRecord::AggregationResponse::Aggregation
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
4 5 6 |
# File 'lib/elastic_record/aggregation_response/single_value_aggregation.rb', line 4 def value @value end |
#value_as_string ⇒ Object
Returns the value of attribute value_as_string.
4 5 6 |
# File 'lib/elastic_record/aggregation_response/single_value_aggregation.rb', line 4 def value_as_string @value_as_string end |