Sha256: 13224444f7df8128c95d013ee5765cb6604922cf38620ec4608c5a750ab34a7e

Contents?: true

Size: 476 Bytes

Versions: 14

Compression:

Stored size: 476 Bytes

Contents

<%- assert_locals resource -%>
##
# Create a fully-qualified <%= resource.name %> resource string.
#
<%= indent render(partial: "service/client/resource/doc", locals: { pattern: resource.patterns.first }), "# " %>
#
# @return [String]
<%- args = resource.patterns.first.arguments.map { |arg| "#{arg}:" }.join ", " -%>
def <%= resource.path_helper %> <%= args %>
<%= indent render(partial: "service/client/resource/def", locals: { pattern: resource.patterns.first }), 2 %>
end

Version data entries

14 entries across 14 versions & 1 rubygems

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