HTTPS clone URL
Subversion checkout URL
Please sign in to comment.
Rafactor token fetching so client can be reused
Previously, the app_token was fetched on demand. This caused bugs when reusing the Savon::Client object. Savon::Client.request starts a new request, yields a block to configure said request, then executes said request. On-demand app_token fetching caused a new request to be issued during the original request's configuration. Savon didn't handle this well. Client.app_token no longer automatically fetches an app_token. The client_with_app_token method will automatically fetch an app token, or you can manually fetch one with authenticate_application.
- Loading branch information...
Showing with 38 additions and 45 deletions.