README.md in pixy-0.0.2 vs README.md in pixy-0.1.0
- old
+ new
@@ -12,22 +12,25 @@
```
## Usage
```ruby
-url = Pixy.shorten!(API_KEY, 'https://github.com/narkoz/pixy')
+Pixy.shorten!(API_KEY, 'https://github.com/narkoz/pixy')
+# => "http://p.tl/Us9R"
+
+pixy = Pixy.shorten(API_KEY, 'https://github.com/narkoz/pixy')
# => #<Pixy::Shorten:0x0000010201bde8 @status="ok", @long_url="https://github.com/narkoz/pixy", @short_url="http://p.tl/Us9R", @counter=20>
-url.status
+pixy.status
# => "ok"
-url.long_url
+pixy.long_url
# => "https://github.com/narkoz/pixy"
-url.short_url
+pixy.short_url
# => "http://p.tl/Us9R"
-url.counter
+pixy.counter
# => 20
```
## Copyright