Readme.markdown in lapse-0.0.1 vs Readme.markdown in lapse-0.0.3
- old
+ new
@@ -39,26 +39,13 @@
## Usage
A client takes an optional access token when you initialize it. If you don't provide one, you can still use it to make unauthenticated requests. If you do provide one, it will set the authorization header for all requests.
-``` ruby
-> client = Lapse::Client.new(access_token: 'your_access_token')
-> current_user = client.me
-> current_user.username
-#=> "soffes"
-> decision = client.decision(5, 3276)
-#=> "Which lamp for the new apartment?"
-> slug = client.slug('d/3I0n0g')
-> slug.decision.user.username
-#=> "soffes"
-```
## Supported Ruby Versions
Lapse is tested under 1.8.7, 1.9.2, 1.9.3, 2.0.0, JRuby 1.7.2 (1.9 mode), and Rubinius 2.0.0 (1.9 mode).
-
-[](https://travis-ci.org/seesawco/Lapse-rb)
## Contributing
See the [contributing guide](Contributing.markdown).