Skip to content

Commit b23f710

Browse files
authored
Explicit top-level namespace reference (#1657)
1 parent 49ba4ac commit b23f710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/faraday/logging/formatter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def dump_headers(headers)
6363

6464
def dump_body(body)
6565
if body.respond_to?(:to_str)
66-
body.to_str.encode(Encoding::UTF_8, undef: :replace, invalid: :replace)
66+
body.to_str.encode(::Encoding::UTF_8, undef: :replace, invalid: :replace)
6767
else
6868
pretty_inspect(body)
6969
end

0 commit comments

Comments
 (0)