class Wizardry::Questions::EmailAddress

Ask a respondant for an email address

Public Class Methods

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

Public Instance Methods

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