lib/google/cloud/vision.rb in google-cloud-vision-0.30.4 vs lib/google/cloud/vision.rb in google-cloud-vision-0.31.0
- old
+ new
@@ -440,9 +440,17 @@
# The default max results to return for web detection requests.
#
def default_max_web
configure.default_max_web
end
+
+ def default_max_object_localizations= value
+ configure.default_max_object_localizations = value
+ end
+
+ def default_max_object_localizations
+ configure.default_max_object_localizations
+ end
end
##
# Creates a new object for connecting to the Vision service.
# Each call creates a new connection.