#config, #configure
10 11 12 13 14
# File 'lib/gcp/vision/client.rb', line 10 def annotate_image(requests) client = ::HTTPClient.new response = client.post(config.endpoint_uri, requests.to_json, 'Content-Type' => 'application/json') Gcp::Vision::Response.new(response) end