Sha256: f2b1ce344f72e8c385cfd0d118543585c8f64d1111cbecd70a98c8cac36b63aa

Contents?: true

Size: 330 Bytes

Versions: 6

Compression:

Stored size: 330 Bytes

Contents

<%- assert_locals method -%>
@<%= method.service.stub_name %>.call_rpc :<%= method.name %>, request, options: options do |response, operation|
  <%- if method.lro? -%>
  response = Gapic::Operation.new response, <%= method.service.lro_client_ivar %>
  <%- end -%>
  yield response, operation if block_given?
  return response
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gapic-generator-0.1.5 templates/default/service/client/method/def/_response_normal.erb
gapic-generator-0.1.4 templates/default/service/client/method/def/_response_normal.erb
gapic-generator-0.1.3 templates/default/service/client/method/def/_response_normal.erb
gapic-generator-0.1.2 templates/default/service/client/method/def/_response_normal.erb
gapic-generator-0.1.1 templates/default/service/client/method/def/_response_normal.erb
gapic-generator-0.1.0 templates/default/service/client/method/def/_response_normal.erb