@@ -1197,6 +1197,14 @@ def timeout_sec
1197
1197
1198
1198
private
1199
1199
1200
+ # Attempts to parse the given list of addresses, using the provided options.
1201
+ #
1202
+ # @param [ String | Array<String> ] addresses the list of addresses
1203
+ # @param [ Hash ] options the options that may drive how the list is
1204
+ # processed.
1205
+ #
1206
+ # @return [ Hash<:uri, :addresses, :options> ] the results of processing the
1207
+ # list of addresses.
1200
1208
def process_addresses ( addresses , options )
1201
1209
if addresses . is_a? ( String )
1202
1210
process_addresses_string ( addresses , options )
@@ -1205,6 +1213,14 @@ def process_addresses(addresses, options)
1205
1213
end
1206
1214
end
1207
1215
1216
+ # Attempts to parse the given list of addresses, using the provided options.
1217
+ #
1218
+ # @param [ String ] addresses the list of addresses
1219
+ # @param [ Hash ] options the options that may drive how the list is
1220
+ # processed.
1221
+ #
1222
+ # @return [ Hash<:uri, :addresses, :options> ] the results of processing the
1223
+ # list of addresses.
1208
1224
def process_addresses_string ( addresses , options )
1209
1225
{ } . tap do |processed |
1210
1226
processed [ :uri ] = uri = URI . get ( addresses , options )
@@ -1225,6 +1241,14 @@ def process_addresses_string(addresses, options)
1225
1241
end
1226
1242
end
1227
1243
1244
+ # Attempts to parse the given list of addresses, using the provided options.
1245
+ #
1246
+ # @param [ Array<String> ] addresses the list of addresses
1247
+ # @param [ Hash ] options the options that may drive how the list is
1248
+ # processed.
1249
+ #
1250
+ # @return [ Hash<:uri, :addresses, :options> ] the results of processing the
1251
+ # list of addresses.
1228
1252
def process_addresses_array ( addresses , options )
1229
1253
{ } . tap do |processed |
1230
1254
processed [ :addresses ] = addresses
0 commit comments