lib/nubank_sdk/auth.rb in nubank_sdk-0.7.3 vs lib/nubank_sdk/auth.rb in nubank_sdk-0.7.4

- old
+ new

@@ -62,10 +62,10 @@ response = default_connection.post(@gen_certificate_path, payload(password)) response_parsed = parse_authenticate_headers(response.headers['WWW-Authenticate']) @encrypted_code = response_parsed[:device_authorization_encrypted_code] - response_parsed[:sent_to] + response_parsed end # # Verify communication with the nubank api #