Class: Ecfr::SearchService::ContentVersion::HierarchicalCount

Inherits:
Object
  • Object
show all
Extended by:
Extensible
Includes:
AttributeMethodDefinition
Defined in:
lib/ecfr/search_service/content_version/hierarchical_count.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Extensible

inherited

Methods included from AttributeMethodDefinition

included, #initialize

Instance Attribute Details

#relationString (readonly)

currently will always return ‘eq’

Returns:

  • (String)


8
9
# File 'lib/ecfr/search_service/content_version/hierarchical_count.rb', line 8

attribute :relation,
desc: "currently will always return 'eq'"

#valueInteger (readonly)

total number of matching results

Returns:

  • (Integer)


11
12
13
# File 'lib/ecfr/search_service/content_version/hierarchical_count.rb', line 11

attribute :value,
type: :integer,
desc: "total number of matching results"