README.md in webhook_stopwatch_client-0.0.1 vs README.md in webhook_stopwatch_client-0.1.1
- old
+ new
@@ -1,8 +1,8 @@
# WebhookStopwatchClient
-TODO: Write a gem description
+A client for the webhook stopwatch
## Installation
Add this line to your application's Gemfile:
@@ -16,10 +16,17 @@
$ gem install webhook_stopwatch_client
## Usage
-TODO: Write usage instructions here
+```ruby
+client = WebhookStopwatch::Client.new("redis://127.0.0.1/5")
+# OR
+client = WebhookStopwatch::Client.new(Redis.new)
+
+client.start(event_id, Time.now.to_f)
+client.stop(event_id, Time.now.to_f)
+```
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)