Sha256: ea5bd8332ab7e25a46d735b65de725450fb7644d42876cd9b33e751bf9b7a4d1

Contents?: true

Size: 286 Bytes

Versions: 14

Compression:

Stored size: 286 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

14 entries across 14 versions & 1 rubygems

Version Path
gapic-generator-0.4.0 templates/default/service/client/method/def/_request_streaming.erb
gapic-generator-0.3.3 templates/default/service/client/method/def/_request_streaming.erb
gapic-generator-0.3.1 templates/default/service/client/method/def/_request_streaming.erb
gapic-generator-0.3.0 templates/default/service/client/method/def/_request_streaming.erb
gapic-generator-0.2.3 templates/default/service/client/method/def/_request_streaming.erb
gapic-generator-0.2.2 templates/default/service/client/method/def/_request_streaming.erb
gapic-generator-0.2.0 templates/default/service/client/method/def/_request_streaming.erb
gapic-generator-0.1.7 templates/default/service/client/method/def/_request_streaming.erb
gapic-generator-0.1.5 templates/default/service/client/method/def/_request_streaming.erb
gapic-generator-0.1.4 templates/default/service/client/method/def/_request_streaming.erb
gapic-generator-0.1.3 templates/default/service/client/method/def/_request_streaming.erb
gapic-generator-0.1.2 templates/default/service/client/method/def/_request_streaming.erb
gapic-generator-0.1.1 templates/default/service/client/method/def/_request_streaming.erb
gapic-generator-0.1.0 templates/default/service/client/method/def/_request_streaming.erb