Sha256: 572604a8cd32284ef1adfc3fde6a98b16414b6e364a047408466ef9876940b31
Contents?: true
Size: 904 Bytes
Versions: 3
Compression:
Stored size: 904 Bytes
Contents
<%- assert_locals method -%> ## # Baseline implementation for the <%= method.name %> REST call # # @param request_pb [<%= method.rest.request_type %>] # A request object representing the call parameters. Required. # @param options [::Gapic::CallOptions] # Overrides the default settings for this call, e.g, timeout, retries etc. Optional. # # @yield [result, response] Access the result along with the Faraday response object # @yieldparam result [<%= method.rest.return_type %>] # @yieldparam response [::Faraday::Response] # # @return [<%= method.rest.return_type %>] # A result object deserialized from the server's reply def <%= method.name %> request_pb, options = nil <%= indent render(partial: "service/rest/service_stub/method/def/request", locals: { method: method }), 2 %> <%= indent render(partial: "service/rest/service_stub/method/def/response", locals: { method: method }), 2 %> end
Version data entries
3 entries across 3 versions & 1 rubygems