Skip to content

Commit

Permalink
to_curl is private. Fixes karmi#962
Browse files Browse the repository at this point in the history
  • Loading branch information
x0bandeira committed May 6, 2014
1 parent 1016449 commit 94be089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tire/delete_by_query.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def initialize(indices=nil, options={}, &block)
def perform
@response = Configuration.client.delete url
if @response.failure?
STDERR.puts "[REQUEST FAILED] #{self.to_curl}\n"
STDERR.puts "[REQUEST FAILED] #{to_curl}\n"
raise DeleteByQueryRequestFailed, @response.to_s
end
@json = MultiJson.decode(@response.body)
Expand Down

0 comments on commit 94be089

Please sign in to comment.