example/myapp.rb in upwork-api-1.2.1 vs example/myapp.rb in upwork-api-1.2.2

- old
+ new

@@ -24,9 +24,11 @@ # run authorization in case we haven't done it yet # and do not have an access token-secret pair if !config.access_token and !config.access_secret authz_url = client.get_authorization_url +# for web-based applications you need to specify the exact oauth_callback explicitly +# authz_url = client.get_authorization_url "https://my-callback-url-here.com" puts "Visit the authorization url and provide oauth_verifier for further authorization" puts authz_url verifier = gets.strip @token = client.get_access_token(verifier)