class Solr::Request::Ping
TODO: Consider something lazy like this? Solr::Request::Ping
= Solr::Request.simple_request :format=>:xml, :handler=>'admin/ping' class Solr::Request
def self.simple_request(options) Class.new do def response_format options[:format] end def handler options[:handler] end end end
end
Public Instance Methods
handler()
click to toggle source
# File lib/solr/request/ping.rb, line 33 def handler 'admin/ping' end
response_format()
click to toggle source
# File lib/solr/request/ping.rb, line 29 def response_format :xml end