Skip to content

Commit

Permalink
Document "methods" type as symbols [ci skip] (#30)
Browse files Browse the repository at this point in the history
This change to the API documentation fixes a logged issue. Hope this helps!
  • Loading branch information
olleolleolle authored Aug 9, 2023
1 parent e9d0df2 commit 41b7ea2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/faraday/retry/middleware.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ def retry_statuses
# 'Timeout::Error', Faraday::TimeoutError, Faraday::RetriableResponse])
# The list of exceptions to handle. Exceptions can be given as
# Class, Module, or String.
# @option options [Array] :methods (the idempotent HTTP methods
# in IDEMPOTENT_METHODS) A list of HTTP methods to retry without
# @option options [Array<Symbol>] :methods (the idempotent HTTP methods
# in IDEMPOTENT_METHODS) A list of HTTP methods, as symbols, to retry without
# calling retry_if. Pass an empty Array to call retry_if
# for all exceptions.
# @option options [Block] :retry_if (false) block that will receive
Expand Down

0 comments on commit 41b7ea2

Please sign in to comment.