Skip to content

Commit 36ec7dd

Browse files
committed
Rename value -> method.
1 parent de48b5e commit 36ec7dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/protocol/http/methods.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ def self.each
6969
end
7070
end
7171

72-
self.each do |name, value|
72+
self.each do |name, method|
7373
define_method(name) do |location, *arguments, **options|
7474
self.call(
75-
Request[value, location.to_s, *arguments, **options]
75+
Request[method, location.to_s, *arguments, **options]
7676
)
7777
end
7878
end

0 commit comments

Comments
 (0)