Sha256: 64ef75ba09e077dcff35fecaf19889c948bb552e87cec4cf983d3e4d8d37f34f

Contents?: true

Size: 292 Bytes

Versions: 30

Compression:

Stored size: 292 Bytes

Contents

<%- assert_locals method -%>
unless request.is_a? ::Enumerable
  raise ::ArgumentError, "request must be an Enumerable" unless request.respond_to? :to_enum
  request = request.to_enum
end

request = request.lazy.map do |req|
  ::Gapic::Protobuf.coerce req, to: <%= method.request_type %>
end

Version data entries

30 entries across 30 versions & 1 rubygems

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