lib/splunk-sdk-ruby/entity/job.rb in splunk-sdk-ruby-1.0.0 vs lib/splunk-sdk-ruby/entity/job.rb in splunk-sdk-ruby-1.0.1
- old
+ new
@@ -217,10 +217,10 @@
#
# Returns: a stream readable by +ResultsReader+.
#
def results(args={})
response = @service.request(:resource => @resource + [sid, "results"],
- :body => args)
+ :query => args)
return response.body
end
##
# Returns the search log for this search job.