Class: Solr::Document::GroupInformation
- Inherits:
-
Object
- Object
- Solr::Document::GroupInformation
- Defined in:
- lib/solr/document.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key:, value:) ⇒ GroupInformation
constructor
A new instance of GroupInformation.
Constructor Details
#initialize(key:, value:) ⇒ GroupInformation
Returns a new instance of GroupInformation.
5 6 7 8 |
# File 'lib/solr/document.rb', line 5 def initialize(key:, value:) @key = key @value = value end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
4 5 6 |
# File 'lib/solr/document.rb', line 4 def key @key end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
4 5 6 |
# File 'lib/solr/document.rb', line 4 def value @value end |
Class Method Details
.empty ⇒ Object
10 11 12 |
# File 'lib/solr/document.rb', line 10 def self.empty new(key: nil, value: nil) end |