templates/default/gem/readme.erb in gapic-generator-0.2.3 vs templates/default/gem/readme.erb in gapic-generator-0.3.0

- old
+ new

@@ -1,6 +1,6 @@ -# <%= gem.title %> +# Ruby Client for the <%= gem.title %> API <%= gem.summary %> <%= gem.description %> @@ -8,9 +8,23 @@ ## Installation ``` $ gem install <%= gem.name %> +``` + +## Quick Start + +```ruby +require "<%= gem.entrypoint_require %>" +<%- service = gem.packages.first&.services.first -%> +<%- method = service&.methods.first -%> +<%- if service && method -%> + +client = <%= service.create_client_call %> +request = my_create_request +response = client.<%= method.name %> request +<%- end -%> ``` ## Supported Ruby Versions This library is supported on Ruby 2.4+.