Skip to content

Commit

Permalink
docs: Correct default default_adapter value
Browse files Browse the repository at this point in the history
Since lostisland#1366, the default value for `default_adapter` is `:net_http`.

Fixes https://www.rubydoc.info/gems/faraday/Faraday#default_adapter-class_method
  • Loading branch information
kuahyeow committed May 3, 2022
1 parent 24eafaa commit 0fc8c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/faraday.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class << self

# @overload default_adapter
# Gets the Symbol key identifying a default Adapter to use
# for the default {Faraday::Connection}. Defaults to `:test`.
# for the default {Faraday::Connection}. Defaults to `:net_http`.
# @return [Symbol] the default adapter
# @overload default_adapter=(adapter)
# Updates default adapter while resetting {.default_connection}.
Expand Down

0 comments on commit 0fc8c16

Please sign in to comment.