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
Constants inherited from Base
Base::SUPPORTED_ARRAY_ACCESSORS
Instance Attribute Summary collapse
- #count ⇒ String readonly
- #title ⇒ String readonly
Attributes inherited from Base
#metadata, #request_data, #response_status, #results
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
Methods inherited from Base
basic_auth_client_options, #each, #initialize, metadata, metadata_key, result_key
Methods included from Extensible
Methods included from AttributeMethodDefinition
Methods inherited from Client
build, cache_key, client, client_pool, delete, execute, get, handle_response, perform, post, purge
Methods included from ParallelClient
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 |