Sha256: 04271d4e84a7c8194d9471077d5a39ee684bdfeba1a37cceb59f361c4fc15fae

Contents?: true

Size: 570 Bytes

Versions: 30

Compression:

Stored size: 570 Bytes

Contents

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

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
gapic-generator-0.11.0 templates/default/service/client/method/def/_response_paged.erb
gapic-generator-0.10.1 templates/default/service/client/method/def/_response_paged.erb
gapic-generator-0.10.0 templates/default/service/client/method/def/_response_paged.erb
gapic-generator-0.9.1 templates/default/service/client/method/def/_response_paged.erb
gapic-generator-0.9.0 templates/default/service/client/method/def/_response_paged.erb
gapic-generator-0.8.0 templates/default/service/client/method/def/_response_paged.erb
gapic-generator-0.7.5 templates/default/service/client/method/def/_response_paged.erb
gapic-generator-0.7.4 templates/default/service/client/method/def/_response_paged.erb
gapic-generator-0.7.2 templates/default/service/client/method/def/_response_paged.erb
gapic-generator-0.7.1 templates/default/service/client/method/def/_response_paged.erb
gapic-generator-0.7.0 templates/default/service/client/method/def/_response_paged.erb
gapic-generator-0.6.15 templates/default/service/client/method/def/_response_paged.erb
gapic-generator-0.6.14 templates/default/service/client/method/def/_response_paged.erb
gapic-generator-0.6.13 templates/default/service/client/method/def/_response_paged.erb
gapic-generator-0.6.12 templates/default/service/client/method/def/_response_paged.erb
gapic-generator-0.6.11 templates/default/service/client/method/def/_response_paged.erb
gapic-generator-0.6.10 templates/default/service/client/method/def/_response_paged.erb
gapic-generator-0.6.9 templates/default/service/client/method/def/_response_paged.erb
gapic-generator-0.6.8 templates/default/service/client/method/def/_response_paged.erb
gapic-generator-0.6.7 templates/default/service/client/method/def/_response_paged.erb