Class: ROM::Solr::ResponseHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/rom/solr/response_handler.rb

Class Method Summary collapse

Class Method Details

.call(response, dataset) ⇒ Hash



6
7
8
# File 'lib/rom/solr/response_handler.rb', line 6

def self.call(response, dataset)
  JSON.parse(response.body, symbolize_names: true)
end