Class: Services::Builders::BatchAnnotateImages
- Inherits:
-
Object
- Object
- Services::Builders::BatchAnnotateImages
- Defined in:
- lib/services/builders/batch.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(image_requests) ⇒ BatchAnnotateImages
constructor
A new instance of BatchAnnotateImages.
Constructor Details
#initialize(image_requests) ⇒ BatchAnnotateImages
Returns a new instance of BatchAnnotateImages.
6 7 8 |
# File 'lib/services/builders/batch.rb', line 6 def initialize(image_requests) @image_requests = image_requests end |
Instance Method Details
#call ⇒ Object
10 11 12 |
# File 'lib/services/builders/batch.rb', line 10 def call Google::Apis::VisionV1::BatchAnnotateImagesRequest.new(requests: @image_requests) end |