Skip to content

Commit 00de1d4

Browse files
committed
Add doc
1 parent 0e309db commit 00de1d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/blacklight/elasticsearch/response.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ class Blacklight::Elasticsearch::Response < ActiveSupport::HashWithIndifferentAc
99
delegate :document_factory, to: :blacklight_config
1010

1111
# @param [Elasticsearch::API::Response] response
12+
# @param [Hash, Blacklight::SearchBuilder] request_params a SearchBuilder or a Hash of parameters
1213
def initialize(api_response, request_params, options = {})
1314
@search_builder = request_params if request_params.is_a?(Blacklight::SearchBuilder)
1415

0 commit comments

Comments
 (0)