Sha256: 8ddb58604998ad59621ca57618fe1a9078de6b5ddd8dad87faf03e4b52a236d7
Contents?: true
Size: 554 Bytes
Versions: 2
Compression:
Stored size: 554 Bytes
Contents
<%- assert_locals method -%> # Converts hash and nil to an options object options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h # Customize the options with defaults call_metadata = {} # Set x-goog-api-client header call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \ lib_name: @config.lib_name, lib_version: @config.lib_version, gapic_version: ::<%= method.service.gem.version_name_full %> options.apply_defaults timeout: @config.timeout, metadata: call_metadata
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gapic-generator-0.7.5 | templates/default/service/rest/client/method/def/_options_defaults.erb |
gapic-generator-0.7.4 | templates/default/service/rest/client/method/def/_options_defaults.erb |