From 100e003ac93e736e955bb91dd54f34b97aa31d83 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Mon, 29 Aug 2022 14:01:02 -0500 Subject: [PATCH] Make sure OOB comes first in payload --- lib/registration.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/registration.rb b/lib/registration.rb index e5ad59c..892dbca 100644 --- a/lib/registration.rb +++ b/lib/registration.rb @@ -256,8 +256,9 @@ class Registration def write Command.reply { |reply| reply.allowed_actions = [:next] + toob = oob(reply) reply.note_type = :info - reply.note_text = "#{oob(reply).desc}: #{oob(reply).url}" + reply.note_text = "#{toob.desc}: #{toob.url}" }.then do CreditCard.for(@customer, @tel, finish: @finish).then(&:write) end -- 2.45.2