You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the by default the Volabit client uses the **production** environment. If you want to use the **test** environment, set the sandbox flag to `true` before requesting the authorization code.
41
+
Note that by default the Volabit client uses the **production** environment. If you want to use the **test** environment, set the sandbox flag to `true` before requesting the authorization code.
volabit_client.get_token 'The given authorization code.'
55
57
```
56
58
57
-
4) With these tokens, you'll be ready to call the services. The methods will return a response object. The contend can be retrieved with the `body` property and will be in the JSON format.
59
+
4) If you already have a `token` and a `refresh_token` you can use:
60
+
61
+
```ruby
62
+
volabit_client.use_token 'token', 'refresh_token'
63
+
```
64
+
65
+
5) You're ready to use our API. Just call any method listed [here][wiki].
0 commit comments