Class: Ecfr::SearchService::ContentVersion::Count
- Defined in:
- lib/ecfr/search_service/content_version/count.rb
Constant Summary collapse
- COUNT_PATH =
"v1/count"
Instance Attribute Summary collapse
-
#description ⇒ String
readonly
description of the search results.
-
#total_count ⇒ Integer
readonly
total count of matching results.
Class Method Summary collapse
-
.find(args) ⇒ <Count>
Retrieves count metadata about a search query.
Methods inherited from Base
base_url, service_name, service_path
Instance Attribute Details
#description ⇒ String (readonly)
description of the search results
7 8 |
# File 'lib/ecfr/search_service/content_version/count.rb', line 7 :description, desc: "description of the search results" |
#total_count ⇒ Integer (readonly)
total count of matching results
10 11 12 |
# File 'lib/ecfr/search_service/content_version/count.rb', line 10 :total_count, type: :integer, desc: "total count of matching results" |
Class Method Details
.find(args) ⇒ <Count>
Retrieves count metadata about a search query
23 24 25 26 27 28 29 |
# File 'lib/ecfr/search_service/content_version/count.rb', line 23 def self.find(args) perform( :get, COUNT_PATH, params: args ) end |