Class: Ecfr::SearchService::TitleFacet
- Includes:
- FacetAttributeMethodDefinition
- Defined in:
- lib/ecfr/search_service/title_facet.rb
Constant Summary
Constants inherited from FacetBase
FacetBase::COUNTS_PATH, FacetBase::VALID_SEARCH_OPTIONS
Instance Attribute Summary collapse
- #count ⇒ String readonly
- #title ⇒ String readonly
Class Method Summary collapse
-
.search(options = {}) ⇒ <TitleFacet>
Counts by title.
Methods included from FacetAttributeMethodDefinition
#count_for, included, #initialize
Methods inherited from Base
base_url, service_name, service_path
Instance Attribute Details
#count ⇒ String (readonly)
8 |
# File 'lib/ecfr/search_service/title_facet.rb', line 8 attribute :count, as: :value |
#title ⇒ String (readonly)
9 |
# File 'lib/ecfr/search_service/title_facet.rb', line 9 attribute :title, as: :key |
Class Method Details
.search(options = {}) ⇒ <TitleFacet>
Returns counts by title.
12 13 14 15 |
# File 'lib/ecfr/search_service/title_facet.rb', line 12 def self.search( = {}) type = "titles" super(type, ) end |