Sha256: e46fbf14fbb7b2e7b5f7b37e5dd6455b8de45451981389bcac60e143755bbd3b

Contents?: true

Size: 348 Bytes

Versions: 8

Compression:

Stored size: 348 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 %>, options: options
  <%- end -%>
  yield response, operation if block_given?
  return response
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gapic-generator-0.4.0 templates/default/service/client/method/def/_response_normal.erb
gapic-generator-0.3.3 templates/default/service/client/method/def/_response_normal.erb
gapic-generator-0.3.1 templates/default/service/client/method/def/_response_normal.erb
gapic-generator-0.3.0 templates/default/service/client/method/def/_response_normal.erb
gapic-generator-0.2.3 templates/default/service/client/method/def/_response_normal.erb
gapic-generator-0.2.2 templates/default/service/client/method/def/_response_normal.erb
gapic-generator-0.2.0 templates/default/service/client/method/def/_response_normal.erb
gapic-generator-0.1.7 templates/default/service/client/method/def/_response_normal.erb