Class: Publication::TextSearch::Result
- Inherits:
-
Data
- Object
- Data
- Publication::TextSearch::Result
- Defined in:
- app/services/publication/text_search.rb
Overview
Service object: result. +relation+ is exposed for callers that need the
full matching set (still just a query object — nothing is loaded).
Instance Attribute Summary collapse
-
#count ⇒ Object
readonly
Returns the value of attribute count.
-
#relation ⇒ Object
readonly
Returns the value of attribute relation.
-
#samples ⇒ Object
readonly
Returns the value of attribute samples.
Instance Attribute Details
#count ⇒ Object (readonly)
Returns the value of attribute count
24 25 26 |
# File 'app/services/publication/text_search.rb', line 24 def count @count end |
#relation ⇒ Object (readonly)
Returns the value of attribute relation
24 25 26 |
# File 'app/services/publication/text_search.rb', line 24 def relation @relation end |
#samples ⇒ Object (readonly)
Returns the value of attribute samples
24 25 26 |
# File 'app/services/publication/text_search.rb', line 24 def samples @samples end |