Class: Publication::TextSearch::Result

Inherits:
Data
  • Object
show all
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

Instance Attribute Details

#countObject (readonly)

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



24
25
26
# File 'app/services/publication/text_search.rb', line 24

def count
  @count
end

#relationObject (readonly)

Returns the value of attribute relation

Returns:

  • (Object)

    the current value of relation



24
25
26
# File 'app/services/publication/text_search.rb', line 24

def relation
  @relation
end

#samplesObject (readonly)

Returns the value of attribute samples

Returns:

  • (Object)

    the current value of samples



24
25
26
# File 'app/services/publication/text_search.rb', line 24

def samples
  @samples
end