We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05edc36 commit 24440f9Copy full SHA for 24440f9
lib/influxdb/query/batch.rb
@@ -82,8 +82,14 @@ def fetch_series(response)
82
denormalize_series
83
denormalized_series_list
84
].each do |method_name|
85
- define_method(method_name) do |*args, **kwargs|
86
- client.send method_name, *args, **kwargs
+ if RUBY_VERSION < "2.7"
+ define_method(method_name) do |*args|
87
+ client.send method_name, *args
88
+ end
89
+ else
90
+ define_method(method_name) do |*args, **kwargs|
91
+ client.send method_name, *args, **kwargs
92
93
end
94
95
0 commit comments