activate.rb

 1form!
 2title "Activate JMP"
 3
 4center = " (#{@rate_center})" if @rate_center
 5instructions <<~I
 6	You've selected #{@tel}#{center} as your JMP number.
 7	To activate your account, you can either deposit $#{CONFIG[:activation_amount]} to your balance or enter your referral code if you have one.
 8	(If you'd like to pay in a cryptocurrency other than Bitcoin, currently we recommend using a service like simpleswap.io, morphtoken.com, changenow.io, or godex.io. Manual payment via Bitcoin Cash is also available if you contact support.)
 9I
10
11field(
12	var: "activation_method",
13	type: "list-single",
14	label: "Activate using",
15	required: true,
16	options: [
17		{
18			value: "credit_card",
19			label: "Credit Card"
20		},
21		{
22			value: "bitcoin",
23			label: "Bitcoin"
24		},
25		{
26			value: "code",
27			label: "Referral Code"
28		},
29		{
30			value: "mail",
31			label: "Mail or Interac e-Transfer"
32		}
33	]
34)
35
36instance_eval File.read("#{__dir__}/plan_name.rb")