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 9a92af2 commit 345e830Copy full SHA for 345e830
templates/ruby/api.mustache
@@ -58,15 +58,15 @@ module {{moduleName}}
58
end
59
60
def self.create_with_config(config)
61
- if config.connect_timeout.nil? ||config.connect_timeout.empty?
+ if config.connect_timeout.nil?
62
config.connect_timeout = {{x-timeouts.server.connect}}
63
64
65
- if config.read_timeout.nil? || config.read_timeout.empty?
+ if config.read_timeout.nil?
66
config.read_timeout = {{x-timeouts.server.read}}
67
68
69
- if config.write_timeout.nil? || config.write_timeout.empty?
+ if config.write_timeout.nil?
70
config.write_timeout = {{x-timeouts.server.write}}
71
72
0 commit comments