lib/customer_info.rb 🔗 @@ -16,7 +16,7 @@ class CustomerInfo customer.registered?.then do |registration| new( plan: plan, - tel: registration&.phone, + tel: registration ? registration.phone : nil, balance: customer.balance, expires_at: expires_at )