README.markdown in ruby-box-1.0.0 vs README.markdown in ruby-box-1.0.1
- old
+ new
@@ -24,10 +24,15 @@
```
__2)__ After redirecting to the authorize_url, exchange the _code_ given for an _access\_token_
```ruby
-session.get_access_token('code-returned-to-redirect_url')
+@token = session.get_access_token('code-returned-to-redirect_url')
+p '@token.token' # the access token.
+p '@token.refresh_token' # token that can be exchanged for a new access_token once the access_token expires.
+
+# refreshing token.
+@token = session.refresh_token('refresh-token-string')
```
__3)__ Create a client using a session initialized with the _access\_token_.
```ruby
\ No newline at end of file