Class: Solr::Query::Response::Spellcheck
- Inherits:
-
Object
- Object
- Solr::Query::Response::Spellcheck
- Defined in:
- lib/solr/query/response/spellcheck.rb
Defined Under Namespace
Classes: Collation
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Class Method Summary collapse
Instance Method Summary collapse
- #collations ⇒ Object
-
#initialize(response) ⇒ Spellcheck
constructor
A new instance of Spellcheck.
Constructor Details
#initialize(response) ⇒ Spellcheck
Returns a new instance of Spellcheck.
30 31 32 |
# File 'lib/solr/query/response/spellcheck.rb', line 30 def initialize(response) @response = response || {} end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
5 6 7 |
# File 'lib/solr/query/response/spellcheck.rb', line 5 def response @response end |
Class Method Details
.empty ⇒ Object
26 27 28 |
# File 'lib/solr/query/response/spellcheck.rb', line 26 def self.empty new({}) end |