class Form::Lettings::Pages::PropertyPostcode < ::Form::Page def initialize(id, hsh, subsection) super @id = "property_postcode" @depends_on = [{ "needstype" => 1 }] end def questions @questions ||= [ Form::Lettings::Questions::PostcodeKnown.new(nil, nil, self), Form::Lettings::Questions::PostcodeFull.new(nil, nil, self), ] end end