class Wizardry::Questions::TelephoneNumber

Ask a respondant for a telephone number

Public Class Methods

new(name) click to toggle source
Calls superclass method Wizardry::Questions::Answer::new
# File lib/wizardry/questions/telephone_number.rb, line 5
def initialize(name)
  Rails.logger.debug("🧙 Adding telephone number question '#{name}'")
  super
end

Public Instance Methods

form_method() click to toggle source
# File lib/wizardry/questions/telephone_number.rb, line 10
def form_method
  :govuk_phone_field
end