Skip to content

Commit

Permalink
Merge pull request lostisland#3 from rusikf/add-retry-option-to-ignor…
Browse files Browse the repository at this point in the history
…e-idempotent-methods

clean constant IDEMPOTENT_METHODS
  • Loading branch information
mike-bourgeous committed Dec 2, 2014
2 parents b1948c9 + baa537d commit dd45710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/faraday/request/retry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def exceptions
end

def methods
Array(self[:methods] ||= Faraday::Request::Retry::IDEMPOTENT_METHODS)
Array(self[:methods] ||= IDEMPOTENT_METHODS)
end

def retry_if
Expand Down

0 comments on commit dd45710

Please sign in to comment.