ServiceStack client for Ruby?

Is there a ServiceStack client for Ruby (supported or community)?

Not that I know of. You’ll basically need to create the URL and parse the JSON API responses manually.

The createUrl and createPath are small APIs that you should be able to easily port:

Which you can use to construct urls like:

$.ss.combinePaths("path","to","..","join")   //= path/join
$.ss.createPath("path/{foo}", {foo:1,bar:2}) //= path/1

$.ss.createUrl("http://host/path/{foo}",{foo:1,bar:2}) //= http://host/path/1?bar=2

Code for combinePaths:

1 Like