Skip to content

Commit 16e84b0

Browse files
committed
RuboCop.
1 parent ae0834e commit 16e84b0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lib/protocol/http/header/authorization.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ def self.basic(username, password)
3333
self.new(
3434
"Basic #{strict_base64_encoded}"
3535
)
36-
end
37-
38-
# Whether this header is acceptable in HTTP trailers.
39-
# Authorization credentials must not appear in trailers for security reasons.
40-
# @returns [Boolean] false, as authorization headers contain sensitive credentials.
41-
def self.trailer?
42-
false
43-
end
36+
end
37+
38+
# Whether this header is acceptable in HTTP trailers.
39+
# Authorization credentials must not appear in trailers for security reasons.
40+
# @returns [Boolean] false, as authorization headers contain sensitive credentials.
41+
def self.trailer?
42+
false
43+
end
4444
end
4545
end
4646
end

0 commit comments

Comments
 (0)