diff --git a/examples/pix/location/pix_generate_qrcode.rb b/examples/pix/location/pix_generate_qrcode.rb index 3e226e0..20def38 100755 --- a/examples/pix/location/pix_generate_qrcode.rb +++ b/examples/pix/location/pix_generate_qrcode.rb @@ -22,5 +22,5 @@ data = response['imagemQrcode'] image_data = Base64.decode64(data['data:image/png;base64,'.length .. -1]) -new_file=File.new("./../../../imgQrcode/qrCodeImage.png", 'wb') #salva a imagem do qrcode na pasta imgQrcode no diretório raiz -new_file.write(image_data) \ No newline at end of file +new_file=File.new("../../../qrCodeImage.png", 'wb') #salva a imagem do qrcode no diretório raiz +new_file.write(image_data)