Skip to content
This repository was archived by the owner on Feb 14, 2019. It is now read-only.
gaffneycPublic archive

About

Twirp generator for Ruby clients

Resources

Stars

9 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twirp RPC Ruby Client Generator

Install

go get -u github.com/gaffneyc/protoc-gen-twirp_ruby

Usage

Using the Haberdasher example:

protoc --proto_path=$GOPATH/src:. --twirp_ruby_out=. --ruby_out=. path/to/service.proto
require "service_pb"
require "service_twirp"

client = Haberdasher::HaberdasherClient.new("http://localhost:8081")
puts client.make_hat(Haberdasher::Size.new(inches: 5)).inspect

About

Twirp generator for Ruby clients

Resources

Stars

9 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

⌂ 换网址