README.md in tsclient-0.0.1 vs README.md in tsclient-0.1.0
- old
+ new
@@ -16,10 +16,18 @@
$ gem install tsclient
## Usage
-TODO.
+```ruby
+client = Tsclient.default_client
+
+client.tailscale_ips
+# => ["100.100.100.1", "fd7a:115c:a1e0::1"]
+
+client.whois "100.100.100.1"
+# => => #<Tsclient::Profile identifier="bob.bobbity@example.com", name="Bob Bobbity", profile_pic_url="www.google.com/images/errors/robot.png", human=true>
+```
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.