@@ -9,21 +9,6 @@ class CustomerInfoForm
@customer_repo = customer_repo
end
- def picker_form- form = Blather::Stanza::X.new(:form)- form.title = "Pick Customer"- form.instructions = "Tell us something about the customer and we'll try " \- "to get more information for you"-- form.fields = {- var: "q", type: "text-single",- label: "Something about the customer",- description: "Supported things include: customer ID, JID, phone number"- }-- form- end-
def find_customer(response)
parse_something(response.form.field("q").value)
end