Sha256: e8ecc4358d67843698517abef1469aea2fc9a65fe614c1949f547fabb4be232f

Contents?: true

Size: 825 Bytes

Versions: 7

Compression:

Stored size: 825 Bytes

Contents

<%- assert_locals service -%>
<% @requires = capture do %>
require "gapic/common"
require "gapic/config"
require "gapic/config/method"

require "<%= service.gem.version_require %>"

require "<%= service.credentials_require %>"
<%- if service.paths? -%>
require "<%= service.paths_require %>"
<%- end -%>
<%- if service.lro? -%>
require "<%= service.operations_require %>"
<%- end -%>
require "<%= service.client_require %>"
<% end %>
##
<%- if service.doc_description -%>
<%= indent service.doc_description, "# " %>
#
<%- end -%>
# To load this service and instantiate a client:
#
#     require "<%= service.service_require %>"
#     client = <%= service.create_client_call %>
#
module <%= service.module_name %>
end
<% @footer = capture do %>
<%= render partial: "service/helpers", locals: { service: service} -%>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gapic-generator-0.5.1 templates/default/lib/_service.erb
gapic-generator-0.5.0 templates/default/lib/_service.erb
gapic-generator-0.4.2 templates/default/lib/_service.erb
gapic-generator-0.4.0 templates/default/lib/_service.erb
gapic-generator-0.3.3 templates/default/lib/_service.erb
gapic-generator-0.3.1 templates/default/lib/_service.erb
gapic-generator-0.3.0 templates/default/lib/_service.erb