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