esim_complete.rb
1result!
2title "eSIM"
3
4field(
5 var: "qr",
6 label: "Scan this QR Code or copy and paste the LPA into your eSIM manager",
7 media: [{
8 type: "image/png",
9 uri:
10 "https://zxing.org/w/chart?cht=qr&chs=350x350&chld=H&choe=UTF-8&chl=" \
11 "#{ERB::Util.url_encode(@sim.lpa_code)}"
12 }],
13 value: @sim.lpa_code
14)
15
16instructions(
17 "An eSIM can only be downloaded and activated once, so DO NOT DELETE the " \
18 "eSIM under any circumstances."
19)