Class: JayAPI::Elasticsearch::Stats::Index
- Inherits:
-
Object
- Object
- JayAPI::Elasticsearch::Stats::Index
- Defined in:
- lib/jay_api/elasticsearch/stats/index.rb
Overview
Holds information about an Elasticsearch Index.
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, data) ⇒ Index
constructor
A new instance of Index.
Constructor Details
#initialize(name, data) ⇒ Index
Returns a new instance of Index.
12 13 14 15 |
# File 'lib/jay_api/elasticsearch/stats/index.rb', line 12 def initialize(name, data) @name = name @data = data end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/jay_api/elasticsearch/stats/index.rb', line 8 def name @name end |