class ApplyMonth
  def self.validate(row)
    reasons = []

    unless row[:apply_month]
      reasons << 'Apply month is required'
    end

    if row[:apply_month]
      if row[:apply_month].to_i < 1 or row[:apply_month].to_i > 12
        reasons << 'Apply month must be a valid month number'
      end

    end

    reasons
  end
end

