Class: Ecfr::SearchService::ContentVersion::Summary

Inherits:
Ecfr::SearchService::ContentVersion show all
Defined in:
lib/ecfr/search_service/content_version/summary.rb

Constant Summary collapse

SUMMARY_PATH =
"v1/summary"

Constants inherited from Base

Base::SUPPORTED_ARRAY_ACCESSORS

Instance Attribute Summary

Attributes inherited from Base

#metadata, #request_data, #response_status, #results

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Ecfr::SearchService::ContentVersion

count, hierarchical_search, search, suggestions, summary

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

#inherited

Methods included from AttributeMethodDefinition

included, #initialize

Methods inherited from Client

build, cache_key, client, client_pool, delete, execute, get, handle_response, perform, post, purge

Methods included from ParallelClient

included

Constructor Details

This class inherits a constructor from Ecfr::Base

Class Method Details

.find(args) ⇒ <Summary>

<Description>

Parameters:

  • args (<Hash>)

    search arguments - everthing except :hierarchy and :query will be removed

Returns:



19
20
21
22
23
# File 'lib/ecfr/search_service/content_version/summary.rb', line 19

def self.find(args)
  valid_args = args.slice(:hierarchy, :query)

  perform(:get, SUMMARY_PATH, params: valid_args)
end

Instance Method Details

#descriptionObject



7
# File 'lib/ecfr/search_service/content_version/summary.rb', line 7

 :description