Sha256: 516acb4c41ce5efa99f8073ad8fe6c58ec06c6b781f737b0238e739c4ac3a0c3
Contents?: true
Size: 566 Bytes
Versions: 14
Compression:
Stored size: 566 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
14 entries across 14 versions & 1 rubygems