CioProtoCat
Installation
Add this line to your application's Gemfile:
gem 'cio_proto_cat'
And then execute:
$ bundle
Or install it yourself as:
$ gem install cio_proto_cat
Usage
This gem has two main uses.
First is as a command line interface to the Cat server.
$ gem install cio_proto_cat
$ cio_proto_cat --method=list
>[<Cat: id: 1, name: "Kumo", color: "Gray">, <Cat: id: 2, name: "Meowzers", color: "Tortoise">]
Secondly to be used in a Ruby script or Rails app.
gem 'cio_proto_cat'
proto = CioProtoCat::Proto.new
proto.list_cats
[<Cat: id: 1, name: "Kumo", color: "Gray">, <Cat: id: 2, name: "Meowzers", color: "Tortoise">]